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
assemblyIAssembly- The assembly metadata that contains the members.
Exceptions
- ArgumentNullException
- Thrown when
assemblyisnull.
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
assemblyIAssembly- The assembly metadata that contains the members.
comparerIEqualityComparer<MemberInfo>- The equality comparer to use for member caching.
Exceptions
- ArgumentNullException
- Thrown when
assemblyorcomparerisnull.
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
assemblyIAssembly- The assembly metadata that contains the members.
factoryIMemberAdapterFactory- The factory used to create member adapters.
Exceptions
- ArgumentNullException
- Thrown when
assemblyorfactoryisnull.
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
assemblyIAssembly- The assembly metadata that contains the members.
factoryIMemberAdapterFactory- The factory used to create member adapters.
comparerIEqualityComparer<MemberInfo>- The equality comparer to use for member caching.
Exceptions
- ArgumentNullException
- Thrown when
assembly,factory, orcomparerisnull.
