mirror of https://github.com/abpframework/abp.git
15 changed files with 167 additions and 32 deletions
@ -0,0 +1,12 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
|
||||
|
namespace Volo.DependencyInjection |
||||
|
{ |
||||
|
public interface IOnServiceExposingArgs |
||||
|
{ |
||||
|
Type ImplementationType { get; } |
||||
|
|
||||
|
List<Type> ExposedTypes { get; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,19 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using JetBrains.Annotations; |
||||
|
|
||||
|
namespace Volo.DependencyInjection |
||||
|
{ |
||||
|
public class OnServiceExposingArgs : IOnServiceExposingArgs |
||||
|
{ |
||||
|
public Type ImplementationType { get; } |
||||
|
|
||||
|
public List<Type> ExposedTypes { get; } |
||||
|
|
||||
|
public OnServiceExposingArgs([NotNull] Type implementationType, List<Type> exposedTypes) |
||||
|
{ |
||||
|
ImplementationType = Check.NotNull(implementationType, nameof(implementationType)); |
||||
|
ExposedTypes = Check.NotNull(exposedTypes, nameof(exposedTypes)); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,10 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
|
||||
|
namespace Volo.DependencyInjection |
||||
|
{ |
||||
|
public class ServiceExposingActionList : List<Action<IOnServiceExposingArgs>> |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue