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
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
namespace SitecorePlayground.Common.Interfaces.Providers | |
{ | |
public interface IItemProvider | |
{ | |
Item GetItem(ID itemId); | |
} | |
} |
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
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using SitecorePlayground.Common.Interfaces.Providers; | |
namespace SitecorePlayground.Common.Providers | |
{ | |
public class ItemProvider : IItemProvider | |
{ | |
public Item GetItem(ID itemId) | |
{ |
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
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using SitecorePlayground.Common.Interfaces.Adapters; | |
namespace SitecorePlayground.Common.Interfaces.Providers | |
{ | |
public interface IItemProvider | |
{ | |
Item GetItem(ID itemId); |
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
using System.Collections.Generic; | |
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
namespace SitecorePlayground.Common.Interfaces.Adapters | |
{ | |
public interface IItemAdapter | |
{ | |
string DisplayName { get; } |
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
using System.Collections.Generic; | |
using System.Linq; | |
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using SitecorePlayground.Common.Interfaces.Adapters; | |
namespace SitecorePlayground.Common.Adapters |
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
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using SitecorePlayground.Common.Adapters; | |
using SitecorePlayground.Common.Interfaces.Adapters; | |
using SitecorePlayground.Common.Interfaces.Providers; | |
namespace SitecorePlayground.Common.Providers | |
{ | |
public class ItemProvider : IItemProvider | |
{ |
OlderNewer