Exemple #1
0
 public GeneratorContext(
     RoslynMetadataHelper roselyn,
     ReadContext read,
     WriteContext write,
     params IValueSerializationGenerator[] generators)
     : this(roselyn, read, write, new CompositeValueGenerator(generators))
 {
 }
Exemple #2
0
 public GeneratorContext(
     RoslynMetadataHelper roselyn,
     ReadContext read,
     WriteContext write,
     IValueSerializationGenerator generator)
 {
     Roselyn        = roselyn;
     Read           = read;
     Write          = write;
     ValueGenerator = generator;
 }
Exemple #3
0
 public Context(IValueSerializationGeneratorContext inner, ReadContext read = null, WriteContext write = null)
 {
     _inner = inner;
     Read   = read ?? inner.Read;
     Write  = write ?? inner.Write;
 }