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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>NUnit Test Method</Title> | |
<Shortcut>nutest</Shortcut> | |
<Description>Code snippet for an NUnit test method following the naming convention UnitOfWork_StateUnderTest_ExpectedBehaviour.</Description> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>Visual Studio Test Method</Title> | |
<Shortcut>mstest</Shortcut> | |
<Description>Code snippet for a Visual Studio test method following the naming convention UnitOfWork_StateUnderTest_ExpectedBehaviour.</Description> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>Extension Method</Title> | |
<Author>Marc Duiker</Author> | |
<Description>Snippet to create an extension method. |
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; } |
OlderNewer