Show / Hide Table of Contents

Class Signature

A signature.

Inheritance
System.Object
Signature
Implements
System.IEquatable<Signature>
System.Collections.Generic.IReadOnlyList<System.Type>
System.Collections.Generic.IReadOnlyCollection<System.Type>
System.Collections.Generic.IEnumerable<System.Type>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
public class Signature : IEquatable<Signature>, IReadOnlyList<Type>, IReadOnlyCollection<Type>, IEnumerable<Type>, IEnumerable

Constructors

| Improve this Doc View Source

Signature(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.

| Improve this Doc View Source

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 Source

Count

Gets the number of items in this list.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

The number of items.

| Improve this Doc View Source

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 Source

Equals(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 other parameter; otherwise, false.

| Improve this Doc View Source

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
System.Object.Equals(System.Object)
| Improve this Doc View Source

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.

| Improve this Doc View Source

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
System.Object.GetHashCode()
| Improve this Doc View Source

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
System.Object.ToString()

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Gets the enumerator.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

The enumerator.

Implements

System.IEquatable<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX