Class AttributedAppServiceInfoProvider
An attributed application service information provider.
Inheritance
System.Object
AttributedAppServiceInfoProvider
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.Conventions
Assembly: Kephas.Core.dll
Syntax
public class AttributedAppServiceInfoProvider : IAppServiceInfoProvider
Methods
| Improve this Doc View SourceGetAppServiceInfos(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. |
TryGetAppServiceInfo(Type)
Tries to get the IAppServiceInfo for the provided type.
Declaration
protected virtual IAppServiceInfo TryGetAppServiceInfo(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
IAppServiceInfo | An IAppServiceInfo or |