x) Move the reason down with the other optional params
This commit is contained in:
parent
e9ba34f68e
commit
d90eaf5954
@ -14,7 +14,8 @@ using System.Runtime.CompilerServices;
|
|||||||
static public class iu
|
static public class iu
|
||||||
{
|
{
|
||||||
//This can handle both Timed and Recorded
|
//This can handle both Timed and Recorded
|
||||||
static public T Process<T>( ref T obj, Func<T, T> fn, string reason = "",
|
static public T Process<T>( ref T obj, Func<T, T> fn,
|
||||||
|
string reason = "",
|
||||||
[CallerMemberName] string memberName = "",
|
[CallerMemberName] string memberName = "",
|
||||||
[CallerFilePath] string filePath = "",
|
[CallerFilePath] string filePath = "",
|
||||||
[CallerLineNumber] int lineNumber = 0,
|
[CallerLineNumber] int lineNumber = 0,
|
||||||
@ -26,7 +27,8 @@ static public class iu
|
|||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
static public T LightProcess<T>( ref T obj, Func<T, T> fn, string reason = "",
|
static public T LightProcess<T>( ref T obj, Func<T, T> fn,
|
||||||
|
string reason = "",
|
||||||
[CallerMemberName] string memberName = "",
|
[CallerMemberName] string memberName = "",
|
||||||
[CallerFilePath] string filePath = "",
|
[CallerFilePath] string filePath = "",
|
||||||
[CallerLineNumber] int lineNumber = 0,
|
[CallerLineNumber] int lineNumber = 0,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user