Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Constructor­Collection­Extensions

Class ConstructorCollectionExtensions

Provides extension methods to the IConstructorCollection interface.

Inheritance
ConstructorCollectionExtensions
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class ConstructorCollectionExtensions : Object

Methods

Name Description
OfCompatibleSignature(IConstructorCollection, IReadOnlyList<IType>, IReadOnlyList<Nullable<RefKind>>)

Gets a list of constructors with signatures compatible with specified constraints given using the Metalama API.

OfCompatibleSignature(IConstructorCollection, IReadOnlyList<Type>)

Gets a list of constructors with signatures compatible with specified constraints given using the System.Reflection API.

OfExactSignature(IConstructorCollection, IConstructor)

Gets a constructor that exactly matches the signature of the specified method.

OfExactSignature(IConstructorCollection, IReadOnlyList<IType>, IReadOnlyList<RefKind>)

Gets a constructor that exactly matches the specified signature given using the System.Reflection API.