Search Results for

    Show / Hide Table of Contents

    Class Resolver

    Sets values.

    Inheritance
    object
    Resolver
    Namespace: Evergine.Framework.Dependencies
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class Resolver

    Constructors

    Resolver(BindObject, ValueAccessor)

    Initializes a new instance of the Resolver class.

    Declaration
    public Resolver(BindObject bindAttribute, ValueAccessor valueAccessor)
    Parameters
    Type Name Description
    BindObject bindAttribute

    The bind attribute.

    ValueAccessor valueAccessor

    The value accessor.

    Properties

    BindType

    Gets the type's full name.

    Declaration
    public abstract Type BindType { get; }
    Property Value
    Type Description
    Type

    Methods

    Delete(DependencyObject, DependencyObject, bool)

    Deletes the specified instance.

    Declaration
    public abstract void Delete(DependencyObject instance, DependencyObject instanceToDelete, bool checkRequired)
    Parameters
    Type Name Description
    DependencyObject instance

    The instance.

    DependencyObject instanceToDelete

    The instance to delete.

    bool checkRequired

    If set to true, [check required].

    Resolve(DependencyObject)

    Resolves the value of the specified instance.

    Declaration
    public bool Resolve(DependencyObject instance)
    Parameters
    Type Name Description
    DependencyObject instance

    The instance.

    Returns
    Type Description
    bool

    true if the value has been resolved or the bind is not required; otherwise, false.

    ResolveObject(DependencyObject)

    Resolves the value of the specified instance.

    Declaration
    public abstract object ResolveObject(DependencyObject instance)
    Parameters
    Type Name Description
    DependencyObject instance

    The instance.

    Returns
    Type Description
    object

    The resolved value.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX