Class Resolver
Set Values.
Inherited Members
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 |
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 |
|
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. |