Class ParameterInfoIntrospectionProviderExtensions
Provides a set of extension methods for IParameterInfoIntrospectionProvider.
Inheritance
Namespace: System.Reflection
Assembly: Nuqleon.Reflection.Virtualization.dll
Syntax
public static class ParameterInfoIntrospectionProviderExtensions : Object
Methods
IsIn(IParameterInfoIntrospectionProvider, ParameterInfo)
Gets a value indicating whether the specified parameter
is an input parameter.
Declaration
public static bool IsIn(this IParameterInfoIntrospectionProvider provider, ParameterInfo parameter)
Parameters
Type | Name | Description |
---|---|---|
IParameterInfoIntrospectionProvider | provider | The reflection introspection provider. |
System.Reflection.ParameterInfo | parameter | The parameter to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the parameter is an input parameter; otherwise, false. |
IsLcid(IParameterInfoIntrospectionProvider, ParameterInfo)
Gets a value indicating whether the specified parameter
is an locale identifier (lcid).
Declaration
public static bool IsLcid(this IParameterInfoIntrospectionProvider provider, ParameterInfo parameter)
Parameters
Type | Name | Description |
---|---|---|
IParameterInfoIntrospectionProvider | provider | The reflection introspection provider. |
System.Reflection.ParameterInfo | parameter | The parameter to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the parameter is a local identifier (lcid); otherwise, false. |
IsOptional(IParameterInfoIntrospectionProvider, ParameterInfo)
Gets a value indicating whether the specified parameter
is a optional.
Declaration
public static bool IsOptional(this IParameterInfoIntrospectionProvider provider, ParameterInfo parameter)
Parameters
Type | Name | Description |
---|---|---|
IParameterInfoIntrospectionProvider | provider | The reflection introspection provider. |
System.Reflection.ParameterInfo | parameter | The parameter to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the parameter is a optional; otherwise, false. |
IsOut(IParameterInfoIntrospectionProvider, ParameterInfo)
Gets a value indicating whether the specified parameter
is an output parameter.
Declaration
public static bool IsOut(this IParameterInfoIntrospectionProvider provider, ParameterInfo parameter)
Parameters
Type | Name | Description |
---|---|---|
IParameterInfoIntrospectionProvider | provider | The reflection introspection provider. |
System.Reflection.ParameterInfo | parameter | The parameter to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the parameter is an output parameter; otherwise, false. |
IsRetval(IParameterInfoIntrospectionProvider, ParameterInfo)
Gets a value indicating whether the specified parameter
is a Retval parameter.
Declaration
public static bool IsRetval(this IParameterInfoIntrospectionProvider provider, ParameterInfo parameter)
Parameters
Type | Name | Description |
---|---|---|
IParameterInfoIntrospectionProvider | provider | The reflection introspection provider. |
System.Reflection.ParameterInfo | parameter | The parameter to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the parameter is a Retval parameter; otherwise, false. |