Class DependsOnControllerAttribute
This attribute says that this view value depends on another's, so send that result as well
when it changes. Note that dependencies which are not 'synctoview' will not be found.
NOTE: There is another [DependeOn] attribute that is similar, but uses fody property change detection instead.
That one is faster, doing it when the change occurs, while this one will queue it up for a later change call.
Inheritance
System.Object
DependsOnControllerAttribute
Assembly: Eco.Core.dll
Syntax
public class DependsOnControllerAttribute : SyncToViewAttribute
Constructors
DependsOnControllerAttribute(String, Boolean)
Declaration
public DependsOnControllerAttribute(string dependencyName, bool viewIsReadOnly = true)
Parameters
Type |
Name |
Description |
System.String |
dependencyName |
|
System.Boolean |
viewIsReadOnly |
|
DependsOnControllerAttribute(String[])
Declaration
public DependsOnControllerAttribute(params string[] dependencyNames)
Parameters
Type |
Name |
Description |
System.String[] |
dependencyNames |
|
Fields
DependencyNames
Declaration
public readonly string[] DependencyNames
Field Value
Type |
Description |
System.String[] |
|
Extension Methods