DefaultReflectionService
The default reflection service implementation.
public DefaultReflectionService()
public JsonTypeDescription GetDescription(Type type, IEnumerable<Attribute> parentAttributes, JsonSchemaGeneratorSettings settings)
Creates a JsonTypeDescription from a Type.
public virtual JsonTypeDescription GetDescription(Type type, IEnumerable<Attribute> parentAttributes, 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(Type type, IEnumerable<Attribute> parentAttributes, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)
Checks whether a type is nullable.