DelegateExtensionsCombine Method
Concatenates the invocation lists of the source Delegate with another Delegate.
Namespace: DevCase.Extensions.DelegateExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Delegate Combine(
this Delegate source,
Delegate target
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function Combine (
source As Delegate,
target As Delegate
) As Delegate
Dim source As [Delegate]
Dim target As [Delegate]
Dim returnValue As [Delegate]
returnValue = source.Combine(target)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Delegate^ Combine(
Delegate^ source,
Delegate^ target
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member Combine :
source : Delegate *
target : Delegate -> Delegate
No code example is currently available or this language may not be supported.
- source Delegate
-
The source Delegate whose invocation list comes first.
- target Delegate
-
The Delegate whose invocation list comes last.
Delegate
A new delegate with an invocation list that concatenates the invocation lists of
source and
target in that order.
Returns
source if
target is
,
returns
target if
source is a null reference,
and returns a null reference if both
source and
target are null references.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Delegate. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).