Table of Contents

Class AggregateExpectationTypeResolver<T>

Namespace
Exiled.CustomRoles.API.Features.Parsers
Assembly
Exiled.CustomRoles.dll

Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.

public class AggregateExpectationTypeResolver<T> : ITypeDiscriminator where T : class

Type Parameters

T
Inheritance
AggregateExpectationTypeResolver<T>
Implements
Inherited Members
Extension Methods

Constructors

AggregateExpectationTypeResolver(INamingConvention)

Initializes a new instance of the AggregateExpectationTypeResolver<T> class.

public AggregateExpectationTypeResolver(INamingConvention namingConvention)

Parameters

namingConvention INamingConvention

The YamlDotNet.Serialization.INamingConvention instance.

Properties

BaseType

Gets the base Type.

public Type BaseType { get; }

Property Value

Type

Methods

TryResolve(ParsingEventBuffer, out Type?)

Tries to resolve a mapping into a specific Type.

public bool TryResolve(ParsingEventBuffer buffer, out Type? suggestedType)

Parameters

buffer ParsingEventBuffer

The ParsingEventBuffer parser buffer.

suggestedType Type

The Type to resolve the mapping key.

Returns

bool

true if resolution is successful; otherwise, false.