Class Signature
A signature.
Inheritance
Implements
Inherited Members
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
public class Signature : IEquatable<Signature>, IReadOnlyList<Type>, IReadOnlyCollection<Type>, IEnumerable<Type>, IEnumerableConstructors
| Improve this Doc View SourceSignature(IEnumerable<Type>)
Initializes a new instance of the Signature class.
Declaration
public Signature(IEnumerable<Type> value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<System.Type> | value | A variable-length parameters list containing value. | 
Signature(Type[])
Initializes a new instance of the Signature class.
Declaration
public Signature(params Type[] value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type[] | value | A variable-length parameters list containing value. | 
Properties
| Improve this Doc View SourceCount
Gets the number of items in this list.
Declaration
public int Count { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | The number of items. | 
Item[Int32]
Gets the element at the specified index in the read-only list.
Declaration
public Type this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | The zero-based index of the element to get. | 
Property Value
| Type | Description | 
|---|---|
| System.Type | The element at the specified index in the read-only list. | 
Methods
| Improve this Doc View SourceEquals(Signature)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Signature other)Parameters
| Type | Name | Description | 
|---|---|---|
| Signature | other | An object to compare with this object. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | true if the current object is equal to the  | 
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | The object to compare with the current object. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | true if the specified object is equal to the current object; otherwise, false. | 
Overrides
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Type> GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerator<System.Type> | An enumerator that can be used to iterate through the collection. | 
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | A hash code for the current object. | 
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | A string that represents the current object. | 
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Gets the enumerator.
Declaration
IEnumerator IEnumerable.GetEnumerator()Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | The enumerator. |