Class DependsOnMemberBaseAttribute
Abstract root to share an implementation for our watchers that trigger change notifications.
Inheritance
System.Object
DependsOnMemberBaseAttribute
Inherited Members
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 |