Info
Version: | 1.1.5115.23204 |
Author(s): | Richard J. Cabral |
Last Update: | Thursday, January 2, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/sitecorerick/diamond |
NuGet Url: | https://www.nuget.org/packages/Diamond |
Install
Install-Package Diamond
dotnet add package Diamond
paket add Diamond
Diamond Download (Unzip the "nupkg" after downloading)
Dependencies
1 package depend on this package.
Tags
It contains a few basic Interfaces and Classes that can be used to construct objects that represent Sitecore.Data.Items.Items but include a few features not found in the native Sitecore API.
Diamond is intended to be paired with a code generation tool such as NVelocity or T4 templates. Code generation should use Sitecore Data Template definitions to create Interfaces and Classes.
These can be used to create instances of Items that support multiple inheritance and contracts. Diamond Items typically have declared properties representing a given Item's fields.
Using Diamond makes Sitecore Items suitable for use with type-driven IoC or Dependency Injection scenarios, such as MVC/MVP and MVVM patterns.