/// <summary> /// Called at compile-time to initialize the current custom attribute instance. /// We compute the formatting strings. /// </summary> /// <param name="method">Method to which the current custom attribute is /// applied.</param> public override void CompileTimeInitialize(MethodBase method, AspectInfo aspectInfo) { this.strings = TraceFormatter.GetMethodFormatStrings( method ); }
/// <summary> /// Called at compile-time to initialize the current custom attribute instance. /// We compute the formatting strings. /// </summary> /// <param name="method">Method to which the current custom attribute is /// applied.</param> public override void CompileTimeInitialize(MethodBase method, AspectInfo aspectInfo) { this.strings = TraceFormatter.GetMethodFormatStrings(method); }