public MarkupExtensionAttribute(string attributeName, Type processorType) { this.AttributeName = attributeName; this.Processor = (IMarkupProcessor)Activator.CreateInstance(processorType); }