示例#1
0
 protected ResolverTestsBase()
 {
     // Called before every test
     this.yamlParser    = new YamlParser();
     this.samplesParser = new SamplesParser();
     this.funcs         = new Funcs();
     this.resolver      = new Resolver(this.samplesParser, this.funcs);
 }
示例#2
0
 protected FormatterTestsBase()
 {
     // Called before every test
     this.yamlParser = new YamlParser();
     this.funcs      = new Funcs();
     this.resolver   = new Resolver(null, null);
     this.formatter  = new Formatter(this.resolver);
 }
示例#3
0
 public ManualTranslations(
     IOptions <DocGenOptions> options,
     IMarkdownTransformer markdownTransformer,
     IYamlParser yamlParser)
 {
     _options             = options.Value;
     _markdownTransformer = markdownTransformer;
     _yamlParser          = yamlParser;
 }
示例#4
0
        public Command(IYamlParser yamlParser, IJsonParser jsonParser, IResolver resolver,
                       IFormatter formatter, IFuncs funcs, ISimulator simulator)
        {
            this.yamlParser = yamlParser;
            this.jsonParser = jsonParser;
            this.resolver   = resolver;
            this.formatter  = formatter;
            this.funcs      = funcs;
            this.simulator  = simulator;

            IsAdminMode = false;
        }
        public ConfigurationFileReader(
			IConfigure configure, 
			IFileSystemWatcher fileSystemWatcher, 
			IYamlParser yamlParser,
			IHarnessManager harnessManager)
        {
            _fileSystemWatcher = fileSystemWatcher;
            _yamlParser = yamlParser;
            _harnessManager = harnessManager;

            fileSystemWatcher.SubscribeToChanges(FileChanged);
        }
示例#6
0
 public ManualWebBuilder(
     IOptions <DocGenOptions> options,
     IServiceProvider serviceProvider,
     IYamlParser yamlParser,
     ISymbolGlossaryStore symbolGlossaryStore,
     IManualTranslations manualTranslations,
     ITranslator translator,
     IMarkdownTransformer markdownTransformer)
 {
     _options             = options.Value;
     _serviceProvider     = serviceProvider;
     _yamlParser          = yamlParser;
     _symbolGlossaryStore = symbolGlossaryStore;
     _manualTranslations  = manualTranslations;
     _translator          = translator;
     _markdownTransformer = markdownTransformer;
 }
示例#7
0
 public DataParser(IMarkdownParser markdownParser, IYamlParser yamlParser, DataReader dataReader)
 {
     this.markdownParser = markdownParser;
     this.yamlParser     = yamlParser;
     reader = dataReader;
 }
示例#8
0
 public YamlParserTests()
 {
     _yamlParser = new DocGen.Core.Markdown.Impl.YamlParser();
 }
示例#9
0
 public RequirementsParser(IYamlParser yamlParser)
 {
     _yamlParser = yamlParser;
 }
 public SiteMetadataFactory(SiteInfo siteInfo, IYamlParser yamlParser, IFileSystem fileSystem)
 {
     _siteInfo   = siteInfo;
     _yamlParser = yamlParser;
     _fileSystem = fileSystem;
 }
示例#11
0
 public DataParserFactory(IMarkdownParser markdownParser, IYamlParser yamlParser)
 {
     this.markdownParser = markdownParser;
     this.yamlParser     = yamlParser;
 }
示例#12
0
 public YamlFrontMatterMetadataProvider(IYamlParser yamlParser)
 {
     _yamlParser = yamlParser;
 }
示例#13
0
 public MarkdownRenderer(IYamlParser yamlParser)
 {
     _yamlParser = yamlParser;
 }
示例#14
0
 public YamlParserTests()
 {
     _sut = new YamlParser();
 }
 public ConfigurationTools(IYamlParser parser)
 {
     _parser = parser;
 }