C# Класс MicroElements.Swashbuckle.NodaTime.NodaTimeSchemaSettings

Settings that control serialization aspects.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
NodaTimeSchemaSettings ( Func resolvePropertyName, Func formatToJson, bool shouldGenerateExamples, SchemaExamples? schemaExamples = null, IDateTimeZoneProvider? dateTimeZoneProvider = null ) : System

Initializes a new instance of the NodaTimeSchemaSettings class.

Описание методов

NodaTimeSchemaSettings() публичный Метод

Initializes a new instance of the NodaTimeSchemaSettings class.
public NodaTimeSchemaSettings ( Func resolvePropertyName, Func formatToJson, bool shouldGenerateExamples, SchemaExamples? schemaExamples = null, IDateTimeZoneProvider? dateTimeZoneProvider = null ) : System
resolvePropertyName Func Function that resolves property name by proper naming strategy.
formatToJson Func Function that formats object as json text.
shouldGenerateExamples bool Should the example node be generated.
schemaExamples SchemaExamples? for schema example values.
dateTimeZoneProvider IDateTimeZoneProvider? configured in Startup.
Результат System