csharp.libraries.generichost.JsonSerializerOptionsProvider.mustache Maven / Gradle / Ivy
//
{{partial_header}}
{{#nrt}}
#nullable enable
{{/nrt}}
using System.Text.Json;
namespace {{packageName}}.{{clientPackage}}
{
///
/// Provides the JsonSerializerOptions
///
{{>visibility}} class JsonSerializerOptionsProvider
{
///
/// the JsonSerializerOptions
///
public JsonSerializerOptions Options { get; }
///
/// Instantiates a JsonSerializerOptionsProvider
///
public JsonSerializerOptionsProvider(JsonSerializerOptions options)
{
Options = options;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy