Example #1
0
 public PropertiesParser(
     ContentTypeConfiguration configuration,
     ContentTypeCodeParserBase propertyParser
     ) : base(configuration)
 {
     this.propertyParser = propertyParser;
 }
 public PropertiesParser(
     ContentTypeConfiguration configuration,
     ContentTypeCodeParserBase propertyParser
     ) : base(configuration)
 {
     this.propertyParser = propertyParser;
 }
 protected List<ContentTypeCodeParserBase> CreateDefaultParsers(ContentTypeCodeParserBase propertyParser)
 {
     return new List<ContentTypeCodeParserBase>
     {
         new StructureParser(Configuration),
         new PropertiesParser(Configuration,
             propertyParser
         ),
         new TabsParser(Configuration)
     };
 }
 protected List <ContentTypeCodeParserBase> CreateDefaultParsers(ContentTypeCodeParserBase propertyParser)
 {
     return(new List <ContentTypeCodeParserBase>
     {
         new StructureParser(Configuration),
         new PropertiesParser(Configuration,
                              propertyParser
                              ),
         new TabsParser(Configuration)
     });
 }
 protected List<ContentTypeCodeParserBase> CreateParsers(InfoParserBase infoParser, ContentTypeCodeParserBase propertyParser)
 {
     var parsers = CreateDefaultParsers(propertyParser);
     parsers.Insert(0, infoParser);
     return parsers;
 }
        protected List <ContentTypeCodeParserBase> CreateParsers(InfoParserBase infoParser, ContentTypeCodeParserBase propertyParser)
        {
            var parsers = CreateDefaultParsers(propertyParser);

            parsers.Insert(0, infoParser);
            return(parsers);
        }
 public MediaPropertyParser(ContentTypeCodeParserBase propertyParser, ContentTypeConfiguration configuration, IEnumerable<DataTypeDefinition> dataTypes) : 
     base(configuration)
 {
     this.propertyParser = propertyParser;
     this.dataTypes = dataTypes;
 }
 public MediaPropertyParser(ContentTypeCodeParserBase propertyParser, ContentTypeConfiguration configuration, IEnumerable <DataTypeDefinition> dataTypes) :
     base(configuration)
 {
     this.propertyParser = propertyParser;
     this.dataTypes      = dataTypes;
 }