Search Results for

    Show / Hide Table of Contents

    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 Source

    BaseType

    Gets the base System.Type.

    Declaration
    Type BaseType { get; }
    Property Value
    Type Description
    System.Type

    Methods

    | Improve this Doc View Source

    TryResolve(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.

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX