PowerArgs.Cli.MarkupPropertyAttribute.MarkupPropertyAttribute C# (CSharp) Method

MarkupPropertyAttribute() public method

Initiates the processor
public MarkupPropertyAttribute ( Type processorType ) : System
processorType System.Type The processor type that must implement IMarkupProcessor
return System
        public MarkupPropertyAttribute(Type processorType)
        {
            this.Processor = (IMarkupProcessor)Activator.CreateInstance(processorType);
        }
MarkupPropertyAttribute