forked from SogetiSpain/ComposedUI-PrismLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Primera versión básica, muy beta aún.
- Loading branch information
Showing
54 changed files
with
2,045 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.23107.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SogetiRSS", "SogetiRSS\SogetiRSS.csproj", "{103E42EB-4808-4065-815B-BA6006D4B348}" | ||
EndProject | ||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SogetiRSS.Shared", "SogetiRSS.Shared\SogetiRSS.Shared.shproj", "{6DD4198A-3F98-4AAC-86F5-5D816B9885FA}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SogetiRSS.Channels.ITBlog", "SogetiRSS.Channels.ITBlog\SogetiRSS.Channels.ITBlog.csproj", "{1BC1AE29-D704-411A-A442-9B25C0DB92C9}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SogetiRSS.Channels.Labs", "SogetiRSS.Channels.Labs\SogetiRSS.Channels.Labs.csproj", "{F1B66D97-6B8F-4E2C-BD72-45245721BE74}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SogetiRSS.Channels.QANews", "SogetiRSS.Channels.QANews\SogetiRSS.Channels.QANews.csproj", "{75EFF8BC-B289-4A84-B37E-B8F57AD806C1}" | ||
EndProject | ||
Global | ||
GlobalSection(SharedMSBuildProjectFiles) = preSolution | ||
SogetiRSS.Shared\SogetiRSS.Shared.projitems*{f1b66d97-6b8f-4e2c-bd72-45245721be74}*SharedItemsImports = 4 | ||
SogetiRSS.Shared\SogetiRSS.Shared.projitems*{103e42eb-4808-4065-815b-ba6006d4b348}*SharedItemsImports = 4 | ||
SogetiRSS.Shared\SogetiRSS.Shared.projitems*{6dd4198a-3f98-4aac-86f5-5d816b9885fa}*SharedItemsImports = 13 | ||
SogetiRSS.Shared\SogetiRSS.Shared.projitems*{1bc1ae29-d704-411a-a442-9b25c0db92c9}*SharedItemsImports = 4 | ||
SogetiRSS.Shared\SogetiRSS.Shared.projitems*{75eff8bc-b289-4a84-b37e-b8f57ad806c1}*SharedItemsImports = 4 | ||
EndGlobalSection | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{103E42EB-4808-4065-815B-BA6006D4B348}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{103E42EB-4808-4065-815B-BA6006D4B348}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{103E42EB-4808-4065-815B-BA6006D4B348}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{103E42EB-4808-4065-815B-BA6006D4B348}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{1BC1AE29-D704-411A-A442-9B25C0DB92C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{1BC1AE29-D704-411A-A442-9B25C0DB92C9}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{1BC1AE29-D704-411A-A442-9B25C0DB92C9}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{1BC1AE29-D704-411A-A442-9B25C0DB92C9}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{F1B66D97-6B8F-4E2C-BD72-45245721BE74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F1B66D97-6B8F-4E2C-BD72-45245721BE74}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F1B66D97-6B8F-4E2C-BD72-45245721BE74}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F1B66D97-6B8F-4E2C-BD72-45245721BE74}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{75EFF8BC-B289-4A84-B37E-B8F57AD806C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{75EFF8BC-B289-4A84-B37E-B8F57AD806C1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{75EFF8BC-B289-4A84-B37E-B8F57AD806C1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{75EFF8BC-B289-4A84-B37E-B8F57AD806C1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// ---------------------------------------------------------------------------- | ||
// <copyright file="ITBlogModule.cs" company="SOGETI Spain"> | ||
// Copyright © 2015 SOGETI Spain. All rights reserved. | ||
// Build user interfaces with Prism by Osc@rNET. | ||
// </copyright> | ||
// ---------------------------------------------------------------------------- | ||
namespace SogetiRSS | ||
{ | ||
using Microsoft.Practices.Unity; | ||
using Microsoft.Practices.Unity.Utility; | ||
using Prism.Modularity; | ||
using Prism.Regions; | ||
using Views; | ||
|
||
/// <summary> | ||
/// Represents the Prism module. | ||
/// </summary> | ||
public class ITBlogModule : IModule | ||
{ | ||
#region Filds | ||
|
||
/// <summary> | ||
/// Defines the container. | ||
/// </summary> | ||
private readonly IUnityContainer container; | ||
|
||
/// <summary> | ||
/// Defines the region manager. | ||
/// </summary> | ||
private readonly IRegionManager regionManager; | ||
|
||
#endregion Filds | ||
|
||
#region Constructors | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="ITBlogModule" /> class. | ||
/// </summary> | ||
/// <param name="container">The container.</param> | ||
/// <param name="regionManager">The region manager.</param> | ||
public ITBlogModule(IUnityContainer container, IRegionManager regionManager) | ||
{ | ||
Guard.ArgumentNotNull(container, "container"); | ||
Guard.ArgumentNotNull(regionManager, "regionManager"); | ||
|
||
this.container = container; | ||
this.regionManager = regionManager; | ||
} | ||
|
||
#endregion Constructors | ||
|
||
#region Methods | ||
|
||
/// <summary> | ||
/// Initializes this instance. | ||
/// </summary> | ||
public void Initialize() | ||
{ | ||
this.regionManager.RegisterViewWithRegion(RegionNames.RSSChannels, typeof(ITBlogChannelView)); | ||
|
||
this.container.RegisterType<object, ITBlogFeedReaderView>("ITBlogFeedReaderView"); | ||
this.container.RegisterType<object, ITBlogFeedsView>("ITBlogFeedsView"); | ||
} | ||
|
||
#endregion Methods | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// ---------------------------------------------------------------------------- | ||
// <copyright file="AssemblyInfo.cs" company="SOGETI Spain"> | ||
// Copyright © 2015 SOGETI Spain. All rights reserved. | ||
// Build user interfaces with Prism by Osc@rNET. | ||
// </copyright> | ||
// ---------------------------------------------------------------------------- | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
using System.Windows; | ||
|
||
[assembly: AssemblyTitle("SogetiRSS.Channels.ITBlog")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("SogetiRSS.Channels.ITBlog")] | ||
[assembly: AssemblyCopyright("Copyright © 2015")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
[assembly: ComVisible(false)] | ||
|
||
[assembly: ThemeInfo( | ||
ResourceDictionaryLocation.None, | ||
ResourceDictionaryLocation.SourceAssembly)] | ||
|
||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
130 changes: 130 additions & 0 deletions
130
SogetiRSS.Channels.ITBlog/SogetiRSS.Channels.ITBlog.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{1BC1AE29-D704-411A-A442-9B25C0DB92C9}</ProjectGuid> | ||
<OutputType>library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>SogetiRSS</RootNamespace> | ||
<AssemblyName>SogetiRSS.Channels.ITBlog</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>none</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> | ||
<DocumentationFile>bin\Debug\SogetiRSS.Channels.ITBlog.xml</DocumentationFile> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants> | ||
</DefineConstants> | ||
<ErrorReport>none</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<DocumentationFile>bin\Release\SogetiRSS.Channels.ITBlog.xml</DocumentationFile> | ||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.Practices.Unity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.Practices.Unity.Configuration, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.Configuration.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.Practices.Unity.RegistrationByConvention, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.RegistrationByConvention.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Prism, Version=6.0.1.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Prism.Core.6.0.1\lib\net45\Prism.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Prism.Unity.Wpf, Version=6.0.1.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Prism.Unity.6.0.1\lib\net45\Prism.Unity.Wpf.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Prism.Wpf, Version=6.0.1.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Prism.Wpf.6.0.1\lib\net45\Prism.Wpf.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xaml"> | ||
<RequiredTargetFramework>4.0</RequiredTargetFramework> | ||
</Reference> | ||
<Reference Include="WindowsBase" /> | ||
<Reference Include="PresentationCore" /> | ||
<Reference Include="PresentationFramework" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="ITBlogModule.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs"> | ||
<SubType>Code</SubType> | ||
</Compile> | ||
<Compile Include="ViewModels\ITBlogChannelViewModel.cs" /> | ||
<Compile Include="ViewModels\ITBlogFeedReaderViewModel.cs" /> | ||
<Compile Include="ViewModels\ITBlogFeedsViewModel.cs" /> | ||
<Compile Include="Views\ITBlogChannelView.xaml.cs"> | ||
<DependentUpon>ITBlogChannelView.xaml</DependentUpon> | ||
</Compile> | ||
<Compile Include="Views\ITBlogFeedReaderView.xaml.cs"> | ||
<DependentUpon>ITBlogFeedReaderView.xaml</DependentUpon> | ||
</Compile> | ||
<Compile Include="Views\ITBlogFeedsView.xaml.cs"> | ||
<DependentUpon>ITBlogFeedsView.xaml</DependentUpon> | ||
</Compile> | ||
<None Include="packages.config" /> | ||
<AppDesigner Include="Properties\" /> | ||
</ItemGroup> | ||
<ItemGroup /> | ||
<ItemGroup> | ||
<Page Include="Views\ITBlogChannelView.xaml"> | ||
<SubType>Designer</SubType> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
<Page Include="Views\ITBlogFeedReaderView.xaml"> | ||
<SubType>Designer</SubType> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
<Page Include="Views\ITBlogFeedsView.xaml"> | ||
<SubType>Designer</SubType> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
</ItemGroup> | ||
<Import Project="..\SogetiRSS.Shared\SogetiRSS.Shared.projitems" Label="Shared" /> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
17 changes: 17 additions & 0 deletions
17
SogetiRSS.Channels.ITBlog/ViewModels/ITBlogChannelViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ---------------------------------------------------------------------------- | ||
// <copyright file="ITBlogChannelViewModel.cs" company="SOGETI Spain"> | ||
// Copyright © 2015 SOGETI Spain. All rights reserved. | ||
// Build user interfaces with Prism by Osc@rNET. | ||
// </copyright> | ||
// ---------------------------------------------------------------------------- | ||
namespace SogetiRSS.ViewModels | ||
{ | ||
using Prism.Mvvm; | ||
|
||
/// <summary> | ||
/// Represents the view model for the ITBlogChannel view. | ||
/// </summary> | ||
internal class ITBlogChannelViewModel : BindableBase | ||
{ | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
SogetiRSS.Channels.ITBlog/ViewModels/ITBlogFeedReaderViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ---------------------------------------------------------------------------- | ||
// <copyright file="ITBlogFeedReaderViewModel.cs" company="SOGETI Spain"> | ||
// Copyright © 2015 SOGETI Spain. All rights reserved. | ||
// Build user interfaces with Prism by Osc@rNET. | ||
// </copyright> | ||
// ---------------------------------------------------------------------------- | ||
namespace SogetiRSS.ViewModels | ||
{ | ||
using Prism.Mvvm; | ||
|
||
/// <summary> | ||
/// Represents the view model for the ITBlogFeedReader view. | ||
/// </summary> | ||
internal class ITBlogFeedReaderViewModel : BindableBase | ||
{ | ||
} | ||
} |
Oops, something went wrong.