12345678910111213141516171819202122232425262728 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using System.Threading.Tasks;
- namespace VCommon.Ioc
- {
-
- public interface ISingletonIocClass { }
-
- public interface ISingletonIocClass<TInterceptor> where TInterceptor : IInterceptor { }
-
- public interface ITransientIocClass { }
-
- public interface ITransientIocClass<TInterceptor> where TInterceptor : IInterceptor { }
-
- public interface IInterceptor
- {
- void BeforeInvoke(Type svcClass, MethodBase svcMethod, IReadOnlyDictionary<string, object> paramDic);
- void AfterInvoke(Type svcClass, MethodBase svcMethod, IReadOnlyDictionary<string, object> paramDic, object resultReturnValue, Exception resultException);
- }
- }
|