Skip to content

Instantly share code, notes, and snippets.

@websterian
Created August 31, 2018 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save websterian/353db200b100189e19f6e9dc8257b4f2 to your computer and use it in GitHub Desktop.
Save websterian/353db200b100189e19f6e9dc8257b4f2 to your computer and use it in GitHub Desktop.
namespace Sitecore.Services.Examples.Indexing
{
using Sitecore.Commerce.Core;
using Sitecore.Framework.Conditions;
public class GenerateFacetsArgument : PipelineArgument
{
public GenerateFacetsArgument(string catalogId)
{
Condition.Requires(catalogId).IsNotNull("The parameter can not be null");
this.CatalogId = catalogId;
}
public string CatalogId { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment