Class ConventionsTypeExtensions
Type extensions for composition conventions.
Inheritance
Inherited Members
Namespace: Kephas.Composition.Conventions
Assembly: Kephas.Core.dll
Syntax
public static class ConventionsTypeExtensionsMethods
| Improve this Doc View SourceIsInstantiableAppServiceInfoProviderType(TypeInfo)
Indicates whether the provided type is an instantiable IAppServiceInfoProvider type.
Declaration
public static bool IsInstantiableAppServiceInfoProviderType(this TypeInfo conventionsType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Reflection.TypeInfo | conventionsType | The conventions type to act on. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the type is an instantiable IAppServiceInfoProvider type, false if not. | 
IsInstantiableAppServiceInfoProviderType(Type)
Indicates whether the provided type is an instantiable IAppServiceInfoProvider type.
Declaration
public static bool IsInstantiableAppServiceInfoProviderType(this Type conventionsType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | conventionsType | The conventions type to act on. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the type is an instantiable IAppServiceInfoProvider type, false if not. | 
IsInstantiableConventionsRegistrarType(TypeInfo)
Indicates whether the provided type is an instantiable IConventionsRegistrar type.
Declaration
public static bool IsInstantiableConventionsRegistrarType(this TypeInfo conventionsType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Reflection.TypeInfo | conventionsType | The conventions type to act on. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the type is an instantiable IConventionsRegistrar type, false if not. | 
IsInstantiableConventionsRegistrarType(Type)
Indicates whether the provided type is an instantiable IConventionsRegistrar type.
Declaration
public static bool IsInstantiableConventionsRegistrarType(this Type conventionsType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | conventionsType | The conventions type to act on. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the type is an instantiable IConventionsRegistrar type, false if not. | 
IsInstantiableConventionsType(TypeInfo, TypeInfo)
Indicates whether the provided type is an instantiable type implementing the provided contract type.
Declaration
public static bool IsInstantiableConventionsType(this TypeInfo conventionsType, TypeInfo conventionsContractType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Reflection.TypeInfo | conventionsType | The conventions type to act on. | 
| System.Reflection.TypeInfo | conventionsContractType | Type of the conventions contract. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the type is an instantiable type implementing the provided contract type, false if not. | 
IsInstantiableConventionsType(Type, TypeInfo)
Indicates whether the provided type is an instantiable type implementing the provided contract type.
Declaration
public static bool IsInstantiableConventionsType(this Type conventionsType, TypeInfo conventionsContractType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | conventionsType | The conventions type to act on. | 
| System.Reflection.TypeInfo | conventionsContractType | Type of the conventions contract. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the type is an instantiable type implementing the provided contract type, false if not. |