Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RegisterToDiAttribute : Attribute
- {
- public Type[] InterfaceType { get; }
- public RegisterToDiAttribute(params Type[] interfaceType)
- {
- InterfaceType = interfaceType;
- }
- public RegisterToDiAttribute()
- {
- }
- }
- public class RegisterSingletonToDiAttribute : Attribute
- {
- public Type InterfaceType { get; }
- public RegisterSingletonToDiAttribute(Type interfaceType)
- {
- InterfaceType = interfaceType;
- }
- public RegisterSingletonToDiAttribute()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement