public GeneratorContext( RoslynMetadataHelper roselyn, ReadContext read, WriteContext write, IValueSerializationGenerator generator) { Roselyn = roselyn; Read = read; Write = write; ValueGenerator = generator; }
public SerializerGenerator( string classFullName, IStaticSerializerResolver staticSerializerResolver, ICollectionImplementationResolver supportedCollections, IValueSerializationGenerator valuesGenerator, bool isRootImmutableDisabled, RoslynMetadataHelper roslyn, SourceFileMetadata generatedCodeMeta) { _classFullName = classFullName; _staticSerializerResolver = staticSerializerResolver; _supportedCollections = supportedCollections; _valuesGenerator = valuesGenerator; _isRootImmutableDisabled = isRootImmutableDisabled; _roslyn = roslyn; _generatedCodeMeta = generatedCodeMeta; }