Struct ConverterTypeCollection.ConverterType
- Namespace
- Nerdbank.Json
- Assembly
- Nerdbank.Json.dll
A converter type whose public constructors must be preserved when trimming.
public readonly struct ConverterTypeCollection.ConverterType
- Inherited Members
Constructors
ConverterType(Type)
Initializes a new instance of the ConverterTypeCollection.ConverterType struct.
public ConverterType(Type type)
Parameters
typeTypeThe converter type.
Properties
Type
Gets the converter type.
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
public Type Type { get; }
Property Value
Operators
implicit operator Type(ConverterType)
Unwraps a converter type.
public static implicit operator Type(ConverterTypeCollection.ConverterType type)
Parameters
typeConverterTypeCollection.ConverterTypeThe converter type wrapper.
Returns
implicit operator ConverterType(Type)
Wraps a converter type.
public static implicit operator ConverterTypeCollection.ConverterType(Type type)
Parameters
typeTypeThe converter type.