Class LoadableDependencyLink<T>
Represents a dependency link between a IDependencyObject and a ILoadable that implements IDependencyObject.
Implements
Inherited Members
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
Properties
Type
Gets the dependency link type.
Declaration
public DependencyLinkTypes Type { get; }
  Property Value
| Type | Description | 
|---|---|
| DependencyLinkTypes | 
See Also
Value
Gets or sets the value.
Declaration
public T Value { get; set; }
  Property Value
| Type | Description | 
|---|---|
| T | 
See Also
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 | 
  | 
      
See Also
Register()
Registers this instance.
Declaration
public void Register()
  See Also
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
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.  |