Creates the empty delegate in a generic fashion.
Declaring type: EmptyDelegateFactory
Namespace: Zyan.Communication.Delegates
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public static TDelegate CreateEmptyDelegate<TDelegate> ()
Type Parameters
TDelegate
The type of the delegate.
Return Value
A fresh copy of the empty delegate.
Collapse/Expand Exceptions
Exception type Condition
InvalidOperationException is thrown if the type is not a delegate type.