TypeResolver class

A customizable type resolver backed by a list of cases.
AssemblyChr.Avro
NamespaceChr.Avro.Resolution
Signature
public class TypeResolver : Chr.Avro.Resolution.ITypeResolver
Baseobject
InterfacesITypeResolver
See the TypeResolution class for more information about the resolution framework.

Constructors

TypeResolver(bool)
Creates a new type resolver.
TypeResolver(IEnumerable<Func<TypeResolver, ITypeResolverCase>>, bool)
Creates a new type resolver.

Properties

IEnumerable<ITypeResolverCase> Cases
A list of cases that the resolver will attempt to apply. If the first case does not match, the resolver will try the next case, and so on until all cases have been tested.
bool ResolveReferenceTypesAsNullable
Whether to resolve reference types as nullable.

Methods

TypeResolution ResolveType(Type)
Resolves information for a .NET type.
TypeResolution ResolveType<T>()
Resolves information for a .NET type.
Chr.Avro