/// <summary> /// Constructor. /// </summary> public XmlActionCompiler(IExtensionPoint operators) : this(operators.CreateExtensions().Cast <IXmlActionCompilerOperator <TActionContext> >()) { }
/// <summary> /// Constructs a toolset based on the specified extension point and context. /// </summary> /// <remarks> /// The toolset will attempt to instantiate and initialize all /// extensions of the specified tool extension point that pass the /// specified filter. /// </remarks> /// <param name="toolExtensionPoint">The tool extension point that provides the tools.</param> /// <param name="context">The tool context to pass to each tool.</param> /// <param name="filter">Only tools that match the specified extension filter are loaded into the /// tool set. If null, all tools extending the extension point are loaded.</param> public ToolSet(IExtensionPoint toolExtensionPoint, IToolContext context, ExtensionFilter filter) : this(toolExtensionPoint.CreateExtensions(filter), context) { }
public XmlSpecificationCompiler(IExpressionFactory defaultExpressionFactory, IExtensionPoint extensionOperators, ISpecificationProvider resolver = null) : this(defaultExpressionFactory, extensionOperators.CreateExtensions().Cast <IXmlSpecificationCompilerOperator>(), resolver) { }