Class Resolver
Sets values.
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 |
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 |
|
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. |