Class CompositionContainerBuilderBase<TBuilder>.AppServiceInfoRegistry
An application service information registry.
Inheritance
System.Object
    CompositionContainerBuilderBase<TBuilder>.AppServiceInfoRegistry
  Implements
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 : IAppServiceInfoProviderMethods
| Improve this Doc View SourceAdd(IAppServiceInfo)
Adds an IAppServiceInfo.
Declaration
public void Add(IAppServiceInfo appServiceInfo)Parameters
| Type | Name | Description | 
|---|---|---|
| IAppServiceInfo | appServiceInfo | The Application service Information to add. | 
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. |