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)
2323 }
2424
2525 ///<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 >
2727 ///<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 )
2929 {
30- if ( obj == null )
30+ if ( valueOrType == null )
3131 throw new ArgumentNullException ( ) ;
3232
33- if ( obj is Type t )
33+ if ( valueOrType is Type t )
3434 return GetTypeDef ( t , isFullName ) ;
3535
36- return GetTypeDef ( obj . GetType ( ) , isFullName ) ;
36+ return GetTypeDef ( valueOrType . GetType ( ) , isFullName ) ;
3737 }
3838
3939
You can’t perform that action at this time.
0 commit comments