Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28442
Modified Files:
ObjectUtils.cs
Log Message:
SPRNET-485 - Add logging of transaction definition name and description when creating new transaction.
Index: ObjectUtils.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util/ObjectUtils.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ObjectUtils.cs 22 Aug 2007 20:16:20 -0000 1.5
--- ObjectUtils.cs 7 Sep 2007 04:46:39 -0000 1.6
***************
*** 449,452 ****
--- 449,464 ----
#endregion
+
+ /// <summary>
+ /// Gets the qualified name of the given method, consisting of
+ /// fully qualified interface/class name + "." method name.
+ /// </summary>
+ /// <param name="method">The method.</param>
+ /// <returns>qualified name of the method.</returns>
+ public static string GetQualifiedMethodName(MethodInfo method)
+ {
+ AssertUtils.ArgumentNotNull(method,"method", "MethodInfo must not be null");
+ return method.DeclaringType.FullName + "." + method.Name;
+ }
}
}
\ No newline at end of file
|