All Downloads are FREE. Search and download functionalities are using the official Maven repository.

csharp.libraries.generichost.JsonSerializerOptionsProvider.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
// 
{{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