C# 클래스 MicroElements.Swashbuckle.NodaTime.NodaTimeSchemaSettings

Settings that control serialization aspects.
파일 보기 프로젝트 열기: micro-elements/MicroElements.Swashbuckle.NodaTime 1 사용 예제들

공개 메소드들

메소드 설명
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