Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Creating separate project for Models
  • Loading branch information
alfnilsson committed Feb 25, 2018
1 parent 27d401b commit 9e138f3
Show file tree
Hide file tree
Showing 53 changed files with 403 additions and 80 deletions.
14 changes: 12 additions & 2 deletions Alloy.Mvc.Template.sln
@@ -1,7 +1,7 @@


Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14 # Visual Studio 15
VisualStudioVersion = 14.0.25420.1 VisualStudioVersion = 15.0.27130.2036
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alloy.Mvc.Template", "src\Alloy.Mvc.Template\Alloy.Mvc.Template.csproj", "{3D79ADE5-DADB-47D2-933D-E98F9773AFAD}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alloy.Mvc.Template", "src\Alloy.Mvc.Template\Alloy.Mvc.Template.csproj", "{3D79ADE5-DADB-47D2-933D-E98F9773AFAD}"
EndProject EndProject
Expand All @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{A1272902
build\Templates.targets = build\Templates.targets build\Templates.targets = build\Templates.targets
EndProjectSection EndProjectSection
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alloy.Models", "src\Alloy.Models\Alloy.Models.csproj", "{870A414D-B5B0-4F20-9553-7C9228869A5A}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
Expand All @@ -22,11 +24,19 @@ Global
{3D79ADE5-DADB-47D2-933D-E98F9773AFAD}.Debug|Any CPU.Build.0 = Debug|Any CPU {3D79ADE5-DADB-47D2-933D-E98F9773AFAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D79ADE5-DADB-47D2-933D-E98F9773AFAD}.Release|Any CPU.ActiveCfg = Release|Any CPU {3D79ADE5-DADB-47D2-933D-E98F9773AFAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D79ADE5-DADB-47D2-933D-E98F9773AFAD}.Release|Any CPU.Build.0 = Release|Any CPU {3D79ADE5-DADB-47D2-933D-E98F9773AFAD}.Release|Any CPU.Build.0 = Release|Any CPU
{870A414D-B5B0-4F20-9553-7C9228869A5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{870A414D-B5B0-4F20-9553-7C9228869A5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{870A414D-B5B0-4F20-9553-7C9228869A5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{870A414D-B5B0-4F20-9553-7C9228869A5A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(NestedProjects) = preSolution GlobalSection(NestedProjects) = preSolution
{3D79ADE5-DADB-47D2-933D-E98F9773AFAD} = {F856CAEC-B3F9-4320-B39D-E8F2EB8F6111} {3D79ADE5-DADB-47D2-933D-E98F9773AFAD} = {F856CAEC-B3F9-4320-B39D-E8F2EB8F6111}
{870A414D-B5B0-4F20-9553-7C9228869A5A} = {F856CAEC-B3F9-4320-B39D-E8F2EB8F6111}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4F02511A-FD97-4BDD-93EB-ED7FB6BC80B6}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal
202 changes: 202 additions & 0 deletions src/Alloy.Models/Alloy.Models.csproj
@@ -0,0 +1,202 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{870A414D-B5B0-4F20-9553-7C9228869A5A}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AlloyTemplates.Models</RootNamespace>
<AssemblyName>Alloy.Models</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</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>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<HintPath>..\..\packages\Castle.Core.4.2.1\lib\net45\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="Castle.Windsor, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<HintPath>..\..\packages\Castle.Windsor.4.1.0\lib\net45\Castle.Windsor.dll</HintPath>
</Reference>
<Reference Include="EPiServer, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.Core.11.3.2\lib\net461\EPiServer.dll</HintPath>
</Reference>
<Reference Include="EPiServer.ApplicationModules, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.11.3.2\lib\net461\EPiServer.ApplicationModules.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Cms.AspNet, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.AspNet.11.3.2\lib\net461\EPiServer.Cms.AspNet.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Cms.Shell.UI, Version=11.2.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.UI.Core.11.2.1\lib\net461\EPiServer.Cms.Shell.UI.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Configuration, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.AspNet.11.3.2\lib\net461\EPiServer.Configuration.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Data, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.11.3.2\lib\net461\EPiServer.Data.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Data.Cache, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.11.3.2\lib\net461\EPiServer.Data.Cache.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Enterprise, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.Core.11.3.2\lib\net461\EPiServer.Enterprise.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Events, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.11.3.2\lib\net461\EPiServer.Events.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Framework, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.11.3.2\lib\net461\EPiServer.Framework.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Framework.AspNet, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.AspNet.11.3.2\lib\net461\EPiServer.Framework.AspNet.dll</HintPath>
</Reference>
<Reference Include="EPiServer.ImageLibrary, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.AspNet.11.3.2\lib\net461\EPiServer.ImageLibrary.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Licensing, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.Framework.11.3.2\lib\net461\EPiServer.Licensing.dll</HintPath>
</Reference>
<Reference Include="EPiServer.LinkAnalyzer, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.Core.11.3.2\lib\net461\EPiServer.LinkAnalyzer.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Shell, Version=11.2.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.UI.Core.11.2.1\lib\net461\EPiServer.Shell.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Shell.UI, Version=11.2.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.UI.Core.11.2.1\lib\net461\EPiServer.Shell.UI.dll</HintPath>
</Reference>
<Reference Include="EPiServer.UI, Version=11.2.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.UI.Core.11.2.1\lib\net461\EPiServer.UI.dll</HintPath>
</Reference>
<Reference Include="EPiServer.Web.WebControls, Version=11.3.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7, processorArchitecture=MSIL">
<HintPath>..\..\packages\EPiServer.CMS.AspNet.11.3.2\lib\net461\EPiServer.Web.WebControls.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Annotations, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ComponentModel.Annotations.4.4.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Data.OracleClient" />
<Reference Include="System.Data.SqlClient, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Data.SqlClient.4.4.0\lib\net461\System.Data.SqlClient.dll</HintPath>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Net" />
<Reference Include="System.Runtime.Remoting" />
<Reference Include="System.Security" />
<Reference Include="System.Security.AccessControl, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Security.AccessControl.4.4.0\lib\net461\System.Security.AccessControl.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Security.Cryptography.Xml.4.4.0\lib\net461\System.Security.Cryptography.Xml.dll</HintPath>
</Reference>
<Reference Include="System.Security.Permissions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Security.Permissions.4.4.0\lib\net461\System.Security.Permissions.dll</HintPath>
</Reference>
<Reference Include="System.Security.Principal.Windows, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Security.Principal.Windows.4.4.0\lib\net461\System.Security.Principal.Windows.dll</HintPath>
</Reference>
<Reference Include="System.Threading.AccessControl, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Threading.AccessControl.4.4.0\lib\net461\System.Threading.AccessControl.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Dataflow, Version=4.5.24.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Tpl.Dataflow.4.5.24\lib\portable-net45+win8+wpa81\System.Threading.Tasks.Dataflow.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
</Reference>
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Blocks\ButtonBlock.cs" />
<Compile Include="Blocks\ContactBlock.cs" />
<Compile Include="Blocks\EditorialBlock.cs" />
<Compile Include="Blocks\JumbotronBlock.cs" />
<Compile Include="Blocks\PageListBlock.cs" />
<Compile Include="Blocks\SiteBlockData.cs" />
<Compile Include="Blocks\SiteLogotypeBlock.cs" />
<Compile Include="Blocks\TeaserBlock.cs" />
<Compile Include="Global.cs" />
<Compile Include="Media\GenericMedia.cs" />
<Compile Include="Media\ImageFile.cs" />
<Compile Include="Media\VideoFile.cs" />
<Compile Include="ModelProperties\PropertyStringList.cs" />
<Compile Include="Pages\ArticlePage.cs" />
<Compile Include="Pages\ContactPage.cs" />
<Compile Include="Pages\ContainerPage.cs" />
<Compile Include="Pages\IHasRelatedContent.cs" />
<Compile Include="Pages\ISearchPage.cs" />
<Compile Include="Pages\LandingPage.cs" />
<Compile Include="Pages\NewsPage.cs" />
<Compile Include="Pages\ProductPage.cs" />
<Compile Include="Pages\SitePageData.cs" />
<Compile Include="Pages\StandardPage.cs" />
<Compile Include="Pages\StartPage.cs" />
<Compile Include="PageTypeExtensions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Rendering\IContainerPage.cs" />
<Compile Include="Rendering\ICustomCssInContentArea.cs" />
<Compile Include="SiteContentType.cs" />
<Compile Include="SiteImageUrl.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Blocks\_ReadMe.txt" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<None Include="Pages\_ReadMe.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,8 +1,8 @@
using EPiServer.DataAnnotations;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using EPiServer.DataAnnotations;


namespace AlloyTemplates namespace AlloyTemplates.Models
{ {


public class Global public class Global
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,9 +1,9 @@
using System; using System;
using EPiServer.Core; using EPiServer.Core;
using EPiServer.Framework.DataAnnotations; using EPiServer.Framework.DataAnnotations;
using EPiServer.PlugIn; using EPiServer.PlugIn;


namespace AlloyTemplates.Models.Properties namespace AlloyTemplates.Models.ModelProperties
{ {
/// <summary> /// <summary>
/// Property type for storing a list of strings /// Property type for storing a list of strings
Expand Down Expand Up @@ -64,4 +64,4 @@ public override object Value
} }
} }
} }
} }
@@ -1,8 +1,8 @@
using System; using System;
using EPiServer.DataAbstraction; using EPiServer.DataAbstraction;
using EPiServer.ServiceLocation; using EPiServer.ServiceLocation;


namespace AlloyTemplates.Business namespace AlloyTemplates.Models
{ {
/// <summary> /// <summary>
/// Provides extension methods for types intended to be used when working with page types /// Provides extension methods for types intended to be used when working with page types
Expand Down
File renamed without changes.
@@ -1,5 +1,5 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using AlloyTemplates.Business.Rendering; using AlloyTemplates.Models.Rendering;
using EPiServer.Web; using EPiServer.Web;
using EPiServer.Core; using EPiServer.Core;


Expand Down
@@ -1,4 +1,4 @@
using AlloyTemplates.Business.Rendering; using AlloyTemplates.Models.Rendering;


namespace AlloyTemplates.Models.Pages namespace AlloyTemplates.Models.Pages
{ {
Expand All @@ -13,4 +13,4 @@ public class ContainerPage : SitePageData, IContainerPage
{ {


} }
} }
File renamed without changes.
File renamed without changes.
@@ -1,9 +1,8 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using EPiServer.DataAbstraction; using EPiServer.DataAbstraction;
using EPiServer.Filters; using EPiServer.Filters;
using EPiServer.Framework.Localization; using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation; using EPiServer.ServiceLocation;
using AlloyTemplates.Business;
using AlloyTemplates.Models.Blocks; using AlloyTemplates.Models.Blocks;


namespace AlloyTemplates.Models.Pages namespace AlloyTemplates.Models.Pages
Expand Down Expand Up @@ -33,4 +32,4 @@ public override void SetDefaultValues(ContentType contentType)
NewsList.SortOrder = FilterSortOrder.PublishedDescending; NewsList.SortOrder = FilterSortOrder.PublishedDescending;
} }
} }
} }
@@ -1,10 +1,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using AlloyTemplates.Models.Blocks; using AlloyTemplates.Models.Blocks;
using EPiServer.Core; using EPiServer.Core;
using EPiServer.DataAbstraction; using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations; using EPiServer.DataAnnotations;
using AlloyTemplates.Models.Properties;


namespace AlloyTemplates.Models.Pages namespace AlloyTemplates.Models.Pages
{ {
Expand Down
File renamed without changes.
@@ -1,9 +1,9 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using AlloyTemplates.Models.ModelProperties;
using EPiServer.Core; using EPiServer.Core;
using EPiServer.DataAbstraction; using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations; using EPiServer.DataAnnotations;
using AlloyTemplates.Business.Rendering; using AlloyTemplates.Models.Rendering;
using AlloyTemplates.Models.Properties;
using EPiServer.Web; using EPiServer.Web;


namespace AlloyTemplates.Models.Pages namespace AlloyTemplates.Models.Pages
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions src/Alloy.Models/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Alloy.Models")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Alloy.Models")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("870a414d-b5b0-4f20-9553-7c9228869a5a")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

0 comments on commit 9e138f3

Please sign in to comment.