File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ public static string usg<T>(params string[] memberNames)
23
23
}
24
24
25
25
///<summary>Get type definition literal of supplied object.</summary>
26
- ///<remarks >Throw when object is null.</remarks >
26
+ ///<param name="valueOrType" >Throw when valueOrType is null.</param >
27
27
///<returns>Ex: Dictionary<int, List<Dictionary<string, float[][]>[]>>[]</returns>
28
- public static string usg ( object obj , bool isFullName = true )
28
+ public static string usg ( object valueOrType , bool isFullName = true )
29
29
{
30
- if ( obj == null )
30
+ if ( valueOrType == null )
31
31
throw new ArgumentNullException ( ) ;
32
32
33
- if ( obj is Type t )
33
+ if ( valueOrType is Type t )
34
34
return GetTypeDef ( t , isFullName ) ;
35
35
36
- return GetTypeDef ( obj . GetType ( ) , isFullName ) ;
36
+ return GetTypeDef ( valueOrType . GetType ( ) , isFullName ) ;
37
37
}
38
38
39
39
You can’t perform that action at this time.
0 commit comments