GetInstance()
Gets an instance of ReflectionTypeComparer that does not perform substitution of generic parameters.
Declaration
public static ReflectionTypeComparer GetInstance()Returns
| Type | Description |
|---|---|
| ReflectionTypeComparer | An instance of ReflectionTypeComparer. |
GetInstance(Type[], Type[], Type[], Type[])
Gets an instance of ReflectionTypeComparer that performs substitution of generic parameters.
Declaration
public static ReflectionTypeComparer GetInstance(Type[] leftGenericTypeParameters, Type[] leftGenericMethodParameters, Type[] rightGenericTypeParameters, Type[] rightGenericMethodParameters)Parameters
| Type | Name | Description |
|---|---|---|
| Type[] | leftGenericTypeParameters | The array of types to be substituted for the generic type parameters of the left member. |
| Type[] | leftGenericMethodParameters | The array of types to be substituted for the generic method parameters of the left member. |
| Type[] | rightGenericTypeParameters | The array of types to be substituted for the generic type parameters of the right member. |
| Type[] | rightGenericMethodParameters | The array of types to be substituted for the generic method parameters of the right member. |
Returns
| Type | Description |
|---|---|
| ReflectionTypeComparer | An instance of ReflectionTypeComparer. |