Show / Hide Table of Contents

Class DependsOnMemberAttribute

[PropertyChanged.DependsOn] will only perform triggers on properties. This attribute does the same, but can provide triggers on methods as well. It also can watch things besides props: events and anything notifying. See wiki guide here: https://github.com/StrangeLoopGames/Eco/wiki/Watching-System

Inheritance
System.Object
WatchBaseAttribute
DependsOnMemberBaseAttribute
DependsOnMemberAttribute
Inherited Members
DependsOnMemberBaseAttribute.GetCallback(MemberInfo, Type)
WatchBaseAttribute.MemberName
WatchBaseAttribute.WatchAllMembers
WatchBaseAttribute.SubMemberName
WatchBaseAttribute.WatchAllSubMembers
WatchBaseAttribute.MemberTypeMustDerive
WatchBaseAttribute.OverridenType
WatchBaseAttribute.GetRootTypeAndMember(MemberInfo)
WatchBaseAttribute.GetWatchedPropType(MemberInfo)
WatchBaseAttribute.GetWatchedSubMember(MemberInfo)
WatchBaseAttribute.GetWatchedSubPropType(MemberInfo)
WatchBaseAttribute.ObjectIsExpectedType(Object)
WatchBaseAttribute.PassEventFirstParamToCallback(Type, Type)
Namespace: Eco.Core.PropertyHandling
Assembly: Eco.Core.dll
Syntax
public class DependsOnMemberAttribute : DependsOnMemberBaseAttribute

Constructors

DependsOnMemberAttribute(String)

Declaration
public DependsOnMemberAttribute(string propName)
Parameters
Type Name Description
System.String propName

DependsOnMemberAttribute(String, String)

Declaration
public DependsOnMemberAttribute(string propName, string subPropName)
Parameters
Type Name Description
System.String propName
System.String subPropName

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
☀
☾