C# Class MicroElements.Swashbuckle.NodaTime.NodaTimeSchemaSettings

Settings that control serialization aspects.
Afficher le fichier Open project: micro-elements/MicroElements.Swashbuckle.NodaTime Class Usage Examples

Méthodes publiques

Méthode Description
NodaTimeSchemaSettings ( Func resolvePropertyName, Func formatToJson, bool shouldGenerateExamples, SchemaExamples? schemaExamples = null, IDateTimeZoneProvider? dateTimeZoneProvider = null ) : System

Initializes a new instance of the NodaTimeSchemaSettings class.

Method Details

NodaTimeSchemaSettings() public méthode

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.
Résultat System