docs.unity.cn
    Show / Hide Table of Contents

    Class BindingRegistry

    Caches all the RegisterBinding attributes and their specific types

    Inheritance
    Object
    BindingRegistry
    Namespace: Mechatronics.SystemGraph
    Syntax
    public static class BindingRegistry

    Fields

    BindingMap

    Binding map associates Binding generic type declared from the RegisterBindingAttribute with the type exposing the attribute

    Declaration
    public static Dictionary<Type, Type> BindingMap
    Field Value
    Type Description
    Dictionary<Type, Type>

    Methods

    GetRegisteredBindingType(Type)

    Gets the type containing the registered binding.

    Declaration
    public static Type GetRegisteredBindingType(Type bindingType)
    Parameters
    Type Name Description
    Type bindingType

    Type of the binding we want to extract the container class.

    Returns
    Type Description
    Type

    Container class type

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use