Show / Hide Table of Contents

Class AttributedAppServiceInfoProvider

An attributed application service information provider.

Inheritance
System.Object
AttributedAppServiceInfoProvider
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.Conventions
Assembly: Kephas.Core.dll
Syntax
public class AttributedAppServiceInfoProvider : IAppServiceInfoProvider

Methods

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

| Improve this Doc View Source

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 null, if the provided type is not a service contract.

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