Constellation.Umbraco
1.0.5682.14609
dotnet add package Constellation.Umbraco --version 1.0.5682.14609
NuGet\Install-Package Constellation.Umbraco -Version 1.0.5682.14609
<PackageReference Include="Constellation.Umbraco" Version="1.0.5682.14609" />
paket add Constellation.Umbraco --version 1.0.5682.14609
#r "nuget: Constellation.Umbraco, 1.0.5682.14609"
// Install Constellation.Umbraco as a Cake Addin #addin nuget:?package=Constellation.Umbraco&version=1.0.5682.14609 // Install Constellation.Umbraco as a Cake Tool #tool nuget:?package=Constellation.Umbraco&version=1.0.5682.14609
This library introduces ease of use for handmade ViewModels that represent IPublishedContent items. The ViewModels should inherit from Models.ContetnViewModel in order to take advantage of the
automatic property mapping provided by this library.
To Use:
1. Create ViewModels that represent content. ViewModel properties should match types and names of the published content Properties[] collection.
2. Each ViewModel should have a ContentType attribute on the class that specifies the Alias for the content that it represents.
3. To convert a PublishedContent to a ViewModel, use the extension methods provided in this library. You may automatically cast to the "best fit" type, or you may cast to a specific ViewModel type.
This library was ported from concepts in Constellation.Sitecore.Items - it is not a 1:1 match, expect evolution.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.5682.14609 | 1,739 | 7/23/2015 |
1.0.5679.24098 | 1,399 | 7/20/2015 |
1.0.5679.22391 | 1,365 | 7/20/2015 |
1.0.5679.21087 | 1,374 | 7/20/2015 |
Bug Fix: Added support for collections and enumerables. Fixed ContentTypeAttribute inheritance. made TModel casting more flexible.