DefaultReflectionService
The default reflection service implementation.
public DefaultReflectionService()
public JsonTypeDescription GetDescription(ContextualType contextualType, JsonSchemaGeneratorSettings settings)
Creates a JsonTypeDescription from a Type.
public virtual JsonTypeDescription GetDescription(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, JsonSchemaGeneratorSettings settings)
Creates a JsonTypeDescription from a Type.
Checks whether the given type is an array type.
Checks whether the given type is a file/binary type.
Checks whether the given type is a dictionary type.
public virtual bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)
Checks whether a type is nullable.
public virtual bool IsStringEnum(ContextualType contextualType, JsonSerializerSettings serializerSettings)
Checks whether the give type is a string enum.