NJsonSchema.Generation.ReflectionServiceBase<TSettings>
public abstract class ReflectionServiceBase<TSettings> : IReflectionService where TSettings : JsonSchemaGeneratorSettings
The default reflection service implementation.
namespace NJsonSchema.Generation
{
public abstract class ReflectionServiceBase<[System.Runtime.CompilerServices.Nullable(0)] TSettings> : IReflectionService where TSettings : JsonSchemaGeneratorSettings
{
public abstract Func<object, string> GetEnumValueConverter(TSettings settings);
public abstract void GenerateProperties(JsonSchema schema, ContextualType contextualType, TSettings settings, JsonSchemaGenerator schemaGenerator, JsonSchemaResolver schemaResolver);
public abstract string GetPropertyName(ContextualAccessorInfo accessorInfo, JsonSchemaGeneratorSettings settings);
public JsonTypeDescription GetDescription(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, TSettings settings);
protected virtual JsonTypeDescription GetDescription(ContextualType contextualType, TSettings settings, Type originalType, bool isNullable, ReferenceTypeNullHandling defaultReferenceTypeNullHandling);
public virtual bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling);
public virtual bool IsStringEnum(ContextualType contextualType, TSettings settings);
protected virtual bool IsBinary(ContextualType contextualType);
protected virtual bool IsArrayType(ContextualType contextualType);
protected virtual bool IsDictionaryType(ContextualType contextualType);
protected ReflectionServiceBase();
}
}