Exemplo n.º 1
0
 public ReaderTypeBuilder(GroBufReader groBufReader, ModuleBuilder module, IReaderCollection readerCollection, IDataMembersExtractor dataMembersExtractor)
 {
     this.groBufReader         = groBufReader;
     this.module               = module;
     this.readerCollection     = readerCollection;
     this.dataMembersExtractor = dataMembersExtractor;
 }
 public ReaderConstantsBuilderContext(GroBufReader groBufReader, TypeBuilder constantsBuilder, IReaderCollection readerCollection, IDataMembersExtractor dataMembersExtractor)
 {
     GroBufReader              = groBufReader;
     ConstantsBuilder          = constantsBuilder;
     this.readerCollection     = readerCollection;
     this.dataMembersExtractor = dataMembersExtractor;
 }
Exemplo n.º 3
0
 public ReaderTypeBuilderContext(GroBufReader groBufReader, ModuleBuilder module, Type constantsType, Dictionary <Type, FieldInfo[]> fields, IReaderCollection readerCollection, IDataMembersExtractor dataMembersExtractor)
 {
     GroBufReader              = groBufReader;
     Module                    = module;
     ConstantsType             = constantsType;
     this.fields               = fields;
     this.readerCollection     = readerCollection;
     this.dataMembersExtractor = dataMembersExtractor;
     Lengths                   = typeof(GroBufHelpers).GetField("Lengths", BindingFlags.Static | BindingFlags.Public);
 }
Exemplo n.º 4
0
 public InputBehavior(IFubuRequestContext context, IReaderCollection <T> readers) : base(PartialBehavior.Executes)
 {
     _context = context;
     _readers = readers;
 }