MemberAdapterRepository Constructors

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll
MemberAdapterRepository(IAssembly)Initializes a new instance of the MemberAdapterRepository class with the default factory and comparer.
MemberAdapterRepository(IAssembly, IEqualityComparer<MemberInfo>)Initializes a new instance of the MemberAdapterRepository class with the default factory and custom comparer.
MemberAdapterRepository(IAssembly, IMemberAdapterFactory)Initializes a new instance of the MemberAdapterRepository class with the specified factory and default comparer.
MemberAdapterRepository(IAssembly, IMemberAdapterFactory, IEqualityComparer<MemberInfo>)Initializes a new instance of the MemberAdapterRepository class with the specified factory and custom comparer.

MemberAdapterRepository(IAssembly)

Initializes a new instance of the MemberAdapterRepository class with the default factory and comparer.
public MemberAdapterRepository(IAssembly assembly)

Parameters

assembly IAssembly
The assembly metadata that contains the members.

Exceptions

ArgumentNullException
Thrown when assembly is null.

MemberAdapterRepository(IAssembly, IEqualityComparer<MemberInfo>)

Initializes a new instance of the MemberAdapterRepository class with the default factory and custom comparer.
public MemberAdapterRepository(IAssembly assembly, IEqualityComparer<MemberInfo> comparer)

Parameters

assembly IAssembly
The assembly metadata that contains the members.
comparer IEqualityComparer<MemberInfo>
The equality comparer to use for member caching.

Exceptions

ArgumentNullException
Thrown when assembly or comparer is null.

MemberAdapterRepository(IAssembly, IMemberAdapterFactory)

Initializes a new instance of the MemberAdapterRepository class with the specified factory and default comparer.
public MemberAdapterRepository(IAssembly assembly, IMemberAdapterFactory factory)

Parameters

assembly IAssembly
The assembly metadata that contains the members.
factory IMemberAdapterFactory
The factory used to create member adapters.

Exceptions

ArgumentNullException
Thrown when assembly or factory is null.

MemberAdapterRepository(IAssembly, IMemberAdapterFactory, IEqualityComparer<MemberInfo>)

Initializes a new instance of the MemberAdapterRepository class with the specified factory and custom comparer.
public MemberAdapterRepository(IAssembly assembly, IMemberAdapterFactory factory, IEqualityComparer<MemberInfo> comparer)

Parameters

assembly IAssembly
The assembly metadata that contains the members.
factory IMemberAdapterFactory
The factory used to create member adapters.
comparer IEqualityComparer<MemberInfo>
The equality comparer to use for member caching.

Exceptions

ArgumentNullException
Thrown when assembly, factory, or comparer is null.