csharp.libraries.generichost.SourceGenerationContext.mustache Maven / Gradle / Ivy
{{#useSourceGeneration}}
///
/// The {{classname}}SerializationContext
///
[JsonSourceGenerationOptions(WriteIndented = true, GenerationMode = JsonSourceGenerationMode.Metadata | JsonSourceGenerationMode.Serialization)]
[JsonSerializable(typeof({{classname}}))]
{{>visibility}} partial class {{classname}}SerializationContext : JsonSerializerContext { }
{{/useSourceGeneration}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy