Show / Hide Table of Contents

Class CompositionContainerBuilderBase<TBuilder>.AppServiceInfoRegistry

An application service information registry.

Inheritance
System.Object
CompositionContainerBuilderBase<TBuilder>.AppServiceInfoRegistry
Implements
IAppServiceInfoProvider
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.Hosting
Assembly: Kephas.Core.dll
Syntax
protected class AppServiceInfoRegistry : IAppServiceInfoProvider

Methods

| Improve this Doc View Source

Add(IAppServiceInfo)

Adds an IAppServiceInfo.

Declaration
public void Add(IAppServiceInfo appServiceInfo)
Parameters
Type Name Description
IAppServiceInfo appServiceInfo

The Application service Information to add.

| Improve this Doc View Source

GetAppServiceInfos(IList<Type>, ICompositionRegistrationContext)

Gets an enumeration of application service information objects.

Declaration
public IEnumerable<(Type contractType, IAppServiceInfo appServiceInfo)> GetAppServiceInfos(IList<Type> candidateTypes, ICompositionRegistrationContext registrationContext)
Parameters
Type Name Description
System.Collections.Generic.IList<System.Type> candidateTypes

The candidate types which can take part in the composition.

ICompositionRegistrationContext registrationContext

Context for the registration.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.ValueTuple<System.Type, IAppServiceInfo>>

An enumeration of application service information objects and their associated contract type.

Implements

IAppServiceInfoProvider

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX