Last active
May 31, 2018 18:17
-
-
Save jraps20/02050da806d94d2ee7a301fd25f21641 to your computer and use it in GitHub Desktop.
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
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