public ConnectionsSectionReader(IXmlLoadLogger logger, IConditionParser conditionParser, IComponentPointParser componentPointParser) { this.logger = logger; this.conditionParser = conditionParser; this.componentPointParser = componentPointParser; }
public TextCommandWithDefinitionsReader( IXmlLoadLogger logger, IComponentPointParser componentPointParser, ISectionRegistry sectionRegistry) { this.logger = logger; this.componentPointParser = componentPointParser; definitionsSection = sectionRegistry.GetSection <DefinitionsSection>(); }
public RenderSectionReader( IXmlLoadLogger logger, IConditionParser conditionParser, IComponentPointParser componentPointParser, IAutoRotateOptionsReader autoRotateOptionsReader, IIndex <string, IRenderCommandReader> renderCommandReaders) { this.logger = logger; this.conditionParser = conditionParser; this.componentPointParser = componentPointParser; this.autoRotateOptionsReader = autoRotateOptionsReader; this.renderCommandReaders = renderCommandReaders; }
public RenderSectionWithDefinitionsReader(IXmlLoadLogger logger, IConditionParser conditionParser, IComponentPointParser componentPointParser, IComponentPointTemplateParser componentPointTemplateParser, ISectionRegistry sectionRegistry) : base(logger, conditionParser, componentPointParser) { this.logger = logger; this.conditionParser = conditionParser; this.componentPointParser = componentPointParser; this.componentPointTemplateParser = componentPointTemplateParser; definitionsSection = sectionRegistry.GetSection <DefinitionsSection>(); availableDefinitions = definitionsSection?.Definitions.Select(x => x.Key).ToHashSet() ?? new HashSet <string>(); }
public RectCommandReader(IXmlLoadLogger logger, IComponentPointParser componentPointParser) { this.logger = logger; this.componentPointParser = componentPointParser; }
public static bool TryParse(this IComponentPointParser parser, XAttribute location, out XmlComponentPoint componentPoint) { return(parser.TryParse(location.Value, location.GetFileRange(), out componentPoint)); }
public static bool TryParse(this IComponentPointParser parser, XAttribute x, XAttribute y, out XmlComponentPoint componentPoint) { return(parser.TryParse(x.Value, y.Value, x.GetFileRange(), y.GetFileRange(), out componentPoint)); }
public virtual void Setup() { _parser = new ComponentPointParser(new NullXmlLoadLogger()); }
public static bool TryParse(this IComponentPointParser parser, XAttribute x, XAttribute y, out ComponentPoint componentPoint) { return(parser.TryParse(x.Value, y.Value, x, y, out componentPoint)); }
public ComponentPointTemplateParser([KeyFilter("default")] IComponentPointParser baseParser, IFeatureSwitcher featureSwitcher, IXmlLoadLogger logger) { this.baseParser = baseParser; this.featureSwitcher = featureSwitcher; this.logger = logger; }