Show / Hide Table of Contents

Class DependsOnMemberBaseAttribute

Abstract root to share an implementation for our watchers that trigger change notifications.

Inheritance
System.Object
WatchBaseAttribute
DependsOnMemberBaseAttribute
DependsOnMemberAttribute
DependsOnSubMemberAttribute
Inherited Members
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 abstract class DependsOnMemberBaseAttribute : WatchBaseAttribute

Constructors

DependsOnMemberBaseAttribute(Type, String, Boolean, String, Boolean, Type)

Declaration
protected DependsOnMemberBaseAttribute(Type rootType, string propName, bool watchAllProps, string subPropName, bool watchAllSubProps, Type propTypeMustDerive = null)
Parameters
Type Name Description
System.Type rootType
System.String propName
System.Boolean watchAllProps
System.String subPropName
System.Boolean watchAllSubProps
System.Type propTypeMustDerive

Methods

GetCallback(MemberInfo, out Type)

Declaration
public override PropertyChangedBeforeAfterEventHandler GetCallback(MemberInfo memberWithAttribute, out Type expectedCallbackParam)
Parameters
Type Name Description
System.Reflection.MemberInfo memberWithAttribute
System.Type expectedCallbackParam
Returns
Type Description
PropertyChangedBeforeAfterEventHandler
Overrides
WatchBaseAttribute.GetCallback(MemberInfo, out Type)

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