Show / Hide Table of Contents

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
SyncToViewAttribute
DependsOnControllerAttribute
Inherited Members
SyncToViewAttribute.ViewIsReadOnly
SyncToViewAttribute.PropertyName
SyncToViewAttribute.Flags
SyncToViewAttribute.ViewType
Namespace: Eco.Core.Controller
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

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾