mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
475 B
19 lines
475 B
using System;
|
|
|
|
namespace Volo.DependencyInjection
|
|
{
|
|
public class ExposeServicesAttribute : Attribute, IExposedServiceTypesProvider
|
|
{
|
|
public Type[] ExposedServiceTypes { get; }
|
|
|
|
public ExposeServicesAttribute(params Type[] exposedServiceTypes)
|
|
{
|
|
ExposedServiceTypes = exposedServiceTypes ?? new Type[0];
|
|
}
|
|
|
|
public Type[] GetExposedServiceTypes()
|
|
{
|
|
return ExposedServiceTypes;
|
|
}
|
|
}
|
|
}
|