IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > PropertyInterceptor<TInstance,TValue,TArgs> Class > AddAction Method : AddAction<TNewArgs>(PropertyInterceptorAction<TNewArgs>) Method |
'Declaration
Public Overloads Sub AddAction(Of TNewArgs As PropertyInterceptorArgs)( _ ByVal interceptorAction As PropertyInterceptorAction(Of TNewArgs) _ )
'Usage
Dim instance As PropertyInterceptor(Of TInstance,TValue,TArgs) Dim interceptorAction As PropertyInterceptorAction(Of TNewArgs) instance.AddAction(Of TNewArgs)(interceptorAction)
public void AddAction<TNewArgs>( PropertyInterceptorAction<TNewArgs> interceptorAction ) where TNewArgs: PropertyInterceptorArgs
Primarily intended for use within the framework when the action provided is not a true base class of PropertyIntercepterAction<TArgs> but is coerceable into it.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2