PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model.​Helpers Namespace / Delegate­Signature Class

DelegateSignature Class

Represents a delegate signature.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.Element
    PostSharp.Sdk.CodeModel.Declaration
      PostSharp.Sdk.CodeModel.Helpers.DelegateSignature

Namespace:  PostSharp.Sdk.CodeModel.Helpers
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class DelegateSignature : Declaration, 
	IEquatable<DelegateSignature>

The DelegateSignature type exposes the following members.

Constructors
  NameDescription
Public methodDelegateSignature
Initializes a new DelegateSignature.
Properties
  NameDescription
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyGenericParameters
Gets the list of generic parameters.
Public propertyParameters
Gets the list of parameters.
Public propertyReturnType
Gets or sets the delegate return type.
Methods
  NameDescription
Public methodClearCache
Clear the cache (typically mapping to System.Reflection or, if the current element is a reference, to the related definition) of the current Element and all its children.
(Inherited from Element.)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object).)
Public methodEquals(DelegateSignature)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as the default hash function.
(Overrides Object.GetHashCode().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks
The types used to define a signature can be valid inside a different module than the one into which the delegate shall be generated. The [!:DelegateBuilder] utility translates types automatically.
See Also