Class MemberSignature
- Namespace
- Ecng.Reflection
- Assembly
- Ecng.Reflection.dll
Member signature.
public class MemberSignature : Equatable<MemberSignature>, ICloneable<MemberSignature>, ICloneable, IEquatable<MemberSignature>, IComparable<MemberSignature>, IComparable
- Inheritance
-
MemberSignature
- Implements
- Inherited Members
- Extension Methods
Constructors
MemberSignature(MemberInfo)
Initializes a new instance of the MemberSignature class.
public MemberSignature(MemberInfo member)
Parameters
member
MemberInfoThe member.
Properties
Member
Gets the member.
public MemberInfo Member { get; }
Property Value
ParamTypes
Gets or sets the param types.
public Type[] ParamTypes { get; }
Property Value
- Type[]
The param types.
ReturnType
Gets or sets the type of the return.
public Type ReturnType { get; }
Property Value
- Type
The type of the return.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override MemberSignature Clone()
Returns
- MemberSignature
A new object that is a copy of this instance.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
OnEquals(MemberSignature)
Determines equality between this instance and another instance of the same type.
protected override bool OnEquals(MemberSignature other)
Parameters
other
MemberSignatureAn object to compare with this instance.
Returns
- bool
true if the objects are equal; otherwise, false.
ToString()
public override string ToString()