Skip to content

Instantly share code, notes, and snippets.

@jraps20
Last active May 31, 2018 18:17
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 jraps20/02050da806d94d2ee7a301fd25f21641 to your computer and use it in GitHub Desktop.
Save jraps20/02050da806d94d2ee7a301fd25f21641 to your computer and use it in GitHub Desktop.
public static Processor Parse(ProcessorItem item)
{
Sitecore.Diagnostics.Assert.ArgumentNotNull((object) item, nameof (item));
if (item.Disabled || item.Type.Trim().Length == 0)
return (Processor) null;
return new Processor(item);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment