AmazedSaint.Elastic.Templating.DynamicTemplateHost.ResolveDirectiveProcessor C# (CSharp) Method

ResolveDirectiveProcessor() public method

Resolves the directive processor
public ResolveDirectiveProcessor ( string processorName ) : Type
processorName string
return System.Type
        public Type ResolveDirectiveProcessor(string processorName)
        {
            //This host will not resolve any specific processors.
            if (string.Compare(processorName, "XYZ", StringComparison.OrdinalIgnoreCase) == 0)
            {
                //return typeof();
            }

            //If the directive processor cannot be found, throw an error.
            throw new Exception("Directive Processor not found");
        }