Interface ITypeDiscriminator
A System.Type discriminator.
Namespace: Exiled.CustomRoles.API.Features.Interfaces
Assembly: Exiled.CustomRoles.dll
Syntax
public interface ITypeDiscriminator
Properties
| Improve this Doc View SourceBaseType
Gets the base System.Type.
Declaration
Type BaseType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceTryResolve(ParsingEventBuffer, out Type)
Tries to resolve a mapping into a specific System.Type.
Declaration
bool TryResolve(ParsingEventBuffer buffer, out Type suggestedType)
Parameters
Type | Name | Description |
---|---|---|
ParsingEventBuffer | buffer | The ParsingEventBuffer parser buffer. |
System.Type | suggestedType | The System.Type to resolve the mapping key. |
Returns
Type | Description |
---|---|
System.Boolean | true if resolution is successful; otherwise, false. |