示例#1
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Default implmentation of <see cref="IAspect"/>'s OnAfterMethodCall method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual void OnAfterMethodCall(WeavingContext context)
 {
 }
示例#2
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Default implmentation of <see cref="IAspect"/>'s OnHasArroundMethod method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual bool HasArroundMethod(WeavingContext context)
 {
     return false;
 }
示例#3
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Implmentation of <see cref="IAspect"/>'s OnAfterGetValue method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual void OnAfterGetValue(WeavingContext context)
 {
 }
示例#4
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Default implmentation of <see cref="IAspect"/>'s OnPropertyChanging method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual void OnPropertyChanging(WeavingContext context)
 {
 }
示例#5
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Default implmentation of <see cref="IAspect"/>'s OnBeforeMethodCall method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual bool OnExceptionMethodCall(WeavingContext context, Exception ex)
 {
     return false;
 }
示例#6
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Default implmentation of <see cref="IAspect"/>'s OnBeforeMethodCall method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual void OnBeforeMethodCall(WeavingContext context)
 {
 }
示例#7
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Implmentation of <see cref="IAspect"/>'s OnBeforeGetValue method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual void OnBeforeGetValue(WeavingContext context)
 {
 }
示例#8
0
文件: AspectBase.cs 项目: bzure/BCF
 /// <summary>
 /// Default implmentation of <see cref="IAspect"/>'s OnAroundMethodCall method.
 /// </summary>
 /// <param name="context">The parameter contains call site info, as well as meta binder info.<see cref="WeavingContext" /></param>
 public virtual void OnAroundMethodCall(WeavingContext context)
 {
 }