Search Results for

    Show / Hide Table of Contents

    Class LoadableDependencyLink<T>

    Represents a dependency link between a IDependencyObject and a ILoadable that implements IDependencyObject.

    Inheritance
    object
    LoadableDependencyLink<T>
    Implements
    IDependencyLink
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Common
    Assembly: Evergine.Common.dll
    Syntax
    public class LoadableDependencyLink<T> : IDependencyLink where T : class, ILoadable, IDependencyObject
    Type Parameters
    Name Description
    T

    The type of ILoadable.

    Constructors

    LoadableDependencyLink(IDependencyObject, T, MethodInfo, object[])

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

    Declaration
    public LoadableDependencyLink(IDependencyObject source, T target, MethodInfo methodInfo, object[] parameters)
    Parameters
    Type Name Description
    IDependencyObject source

    The source.

    T target

    The target.

    MethodInfo methodInfo

    The method information.

    object[] parameters

    The parameters.

    See Also
    IDependencyLink

    Properties

    Type

    Gets the dependency link type.

    Declaration
    public DependencyLinkTypes Type { get; }
    Property Value
    Type Description
    DependencyLinkTypes
    See Also
    IDependencyLink

    Value

    Gets or sets the value.

    Declaration
    public T Value { get; set; }
    Property Value
    Type Description
    T
    See Also
    IDependencyLink

    Methods

    IsTheSameLink(IDependencyObject, MethodInfo, object[])

    Determines whether this instance represents the link for the specified parameters.

    Declaration
    public bool IsTheSameLink(IDependencyObject source, MethodInfo methodInfo, object[] parameters)
    Parameters
    Type Name Description
    IDependencyObject source

    The source.

    MethodInfo methodInfo

    The method information.

    object[] parameters

    The parameters.

    Returns
    Type Description
    bool

    true if this instance represents the link for the parameters; otherwise, return false.

    See Also
    IDependencyLink

    Register()

    Registers this instance.

    Declaration
    public void Register()
    See Also
    IDependencyLink

    SetTarget(T)

    Sets the target without invoke update method.

    Declaration
    public void SetTarget(T target)
    Parameters
    Type Name Description
    T target

    The target.

    See Also
    IDependencyLink

    Unregister(IDependencyObject)

    Unregisters this instance in the dependency list of source and target.

    Declaration
    public void Unregister(IDependencyObject caller)
    Parameters
    Type Name Description
    IDependencyObject caller

    The caller.

    See Also
    IDependencyLink

    Implements

    IDependencyLink

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)

    See Also

    IDependencyLink
    In This Article
    Back to top
    Generated by DocFX