Show / Hide Table of Contents

Class ConventionsTypeExtensions

Type extensions for composition conventions.

Inheritance
System.Object
ConventionsTypeExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Composition.Conventions
Assembly: Kephas.Core.dll
Syntax
public static class ConventionsTypeExtensions

Methods

| Improve this Doc View Source

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

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX