Table of Contents

Class ExposeServicesAttribute

Namespace
Volo.Abp.DependencyInjection
Assembly
Volo.Abp.Core.dll
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ExposeServicesAttribute : Attribute, IExposedServiceTypesProvider
Inheritance
ExposeServicesAttribute
Implements
Inherited Members
Extension Methods

Constructors

ExposeServicesAttribute(params Type[])

public ExposeServicesAttribute(params Type[] serviceTypes)

Parameters

serviceTypes Type[]

Properties

IncludeDefaults

public bool IncludeDefaults { get; set; }

Property Value

bool

IncludeSelf

public bool IncludeSelf { get; set; }

Property Value

bool

ServiceTypes

public Type[] ServiceTypes { get; }

Property Value

Type[]

Methods

GetExposedServiceTypes(Type)

public Type[] GetExposedServiceTypes(Type targetType)

Parameters

targetType Type

Returns

Type[]