12using System.Collections.Generic;
22 internal class SerializationPartialGenerator
30 public void GeneratePartialType(GeneratorExecutionContext context, ExtractedTypeDefinition typeDefinition)
32 GenerationResults generationResults;
33 SerializationPartialBuilder builder =
new SerializationPartialBuilder();
36 generationResults = builder.BuildPartialTypeDefinition(typeDefinition);
39 context.AddSource($
"{generationResults.FullyQualifiedName}.g",
40 SourceText.From(generationResults.GeneratedSource, Encoding.UTF8));