Search Results for

    Show / Hide Table of Contents

    Class Resolver

    Set 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.

    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 specified instance.

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

    The instance.

    Returns
    Type Description
    bool

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

    ResolveObject(DependencyObject)

    Resolves the value of 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