Méthode |
Description |
|
GetDictionaryInterface ( this t ) : Type |
|
|
GetListInterface ( this t ) : Type |
|
|
IsAnonymouseClass ( this type ) : bool |
HACK: This is a best effort attempt to divine if a type is anonymous based on the language spec. Reference section 7.6.10.6 of the C# language spec as of 2012/11/19 It checks: - is a class - descends directly from object - has [CompilerGenerated] - has a single constructor - that constructor takes exactly the same parameters as its public properties - all public properties are not writable - has a private field for every public property - overrides Equals(object) - overrides GetHashCode() |
|
IsDictionary ( this t ) : bool |
|
|
IsList ( this t ) : bool |
|
|
IsOverride ( this method ) : bool |
|
|
IsSimple ( this t ) : bool |
|
|
ToArray ( this l, Type elementType ) : object |
|
|