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