Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Corlate.Feature.Configurations.Models
- {
- using Sitecore.Data.Items;
- /// <summary>
- /// Defines the <see cref="ThemeLibrary" />
- /// </summary>
- public class ThemeLibrary : CustomItem
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="ThemeLibrary"/> class.
- /// </summary>
- /// <param name="innerItem">The <see cref="Item"/></param>
- public ThemeLibrary(Item innerItem) : base(innerItem)
- {
- }
- /// <summary>
- /// Gets the IsStylesheet
- /// </summary>
- public bool IsStylesheet
- {
- get
- {
- return InnerItem.Fields[References.Templates.ThemeLibrary.Fields.IsStylesheet].Value == "1";
- }
- }
- /// <summary>
- /// Gets the FilePath
- /// </summary>
- public string FilePath
- {
- get
- {
- return InnerItem.Fields[References.Templates.ThemeLibrary.Fields.FilePath].Value;
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment