Пример #1
0
 public DeviceInterfaceFileParser(
     ParserContext context,
     IContentNodeFactory contentNodeFactory,
     ISchemaNodeFactory schemaNodeFactory,
     IFieldNodesFactory fieldNodesFactory)
 {
     this.context            = context;
     this.contentNodeFactory = contentNodeFactory;
     this.schemaNodeFactory  = schemaNodeFactory;
     this.fieldNodesFactory  = fieldNodesFactory;
 }
Пример #2
0
 public ContentObject(IEnumerable <KeyValuePair <string, object> > dataSource, object rawData, IContentNodeFactory contentFactory)
 {
     DataSource      = dataSource ?? throw new ArgumentNullException(nameof(dataSource));
     _rawValue       = rawData;
     _contentFactory = contentFactory ?? throw new ArgumentNullException(nameof(contentFactory));
 }
Пример #3
0
 public FromClrPoco(IContentNodeFactory memberFactory, IContentSchemaNodeFactory schemaFactory)
 {
     _memberFactory = memberFactory;
     _schemaFactory = schemaFactory;
 }
Пример #4
0
 public FromClrIEnumerable(IContentNodeFactory itemFactory, IContentSchemaNodeFactory schemaFactory)
 {
     _itemFactory   = itemFactory;
     _schemaFactory = schemaFactory;
 }
Пример #5
0
 public ContentList(IEnumerable dataSource, object rawValue, IContentNodeFactory contentFactory)
 {
     DataSource      = dataSource ?? throw new ArgumentNullException(nameof(rawValue));
     _rawValue       = rawValue ?? throw new ArgumentNullException(nameof(rawValue));
     _contentFactory = contentFactory ?? throw new ArgumentNullException(nameof(contentFactory));
 }
Пример #6
0
 public FromJToken(IContentNodeFactory contentFactory)
 {
     _contentFactory = contentFactory;
 }
Пример #7
0
 public FromClrDictionary(IContentNodeFactory memberFactory, IContentSchemaNodeFactory schemaFactory)
 {
     _memberFactory = memberFactory;
     _schemaFactory = schemaFactory;
 }