Table of Contents

Class ExposeKeyedServiceAttribute<TServiceType>

Namespace
Volo.Abp.DependencyInjection
Assembly
Volo.Abp.Core.dll
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ExposeKeyedServiceAttribute<TServiceType> : Attribute, IExposedKeyedServiceTypesProvider where TServiceType : class

Type Parameters

TServiceType
Inheritance
ExposeKeyedServiceAttribute<TServiceType>
Implements
Inherited Members
Extension Methods

Constructors

ExposeKeyedServiceAttribute(object)

public ExposeKeyedServiceAttribute(object serviceKey)

Parameters

serviceKey object

Properties

ServiceIdentifier

public ServiceIdentifier ServiceIdentifier { get; }

Property Value

ServiceIdentifier

Methods

GetExposedServiceTypes(Type)

public ServiceIdentifier[] GetExposedServiceTypes(Type targetType)

Parameters

targetType Type

Returns

ServiceIdentifier[]