Show / Hide Table of Contents

Class Type<T>.Method<P1, P2, P3, P4, P5, P6>

Provides access to methods with six parameters declared in type T.

Inheritance
Object
Type<T>.Method<P1, P2, P3, P4, P5, P6>
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public static class Method<P1, P2, P3, P4, P5, P6> : object
Type Parameters
Name Description
P1

Type of first method parameter.

P2

Type of second method parameter.

P3

Type of third method parameter.

P4

Type of fourth method parameter.

P5

Type of fifth method parameter.

P6

Type of sixth method parameter.

Methods

| Improve this Doc View Source

Get(String, Boolean)

Reflects instance method with six parameters and without return type as delegate type .

Declaration
public static Method<Action<T, P1, P2, P3, P4, P5, P6>> Get(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Action<T, P1, P2, P3, P4, P5, P6>>

The reflected method; otherwise, null if method doesn't exist.

| Improve this Doc View Source

Get<R>(String, Boolean)

Reflects instance method with six parameters as delegate type .

Declaration
public static Method<Func<T, P1, P2, P3, P4, P5, P6, R>> Get<R>(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Func<T, P1, P2, P3, P4, P5, P6, R>>

The reflected method; otherwise, null if method doesn't exist.

Type Parameters
Name Description
R

The method return type.

| Improve this Doc View Source

GetStatic(String, Boolean)

Reflects static method with six parameters and without return type as delegate type .

Declaration
public static Method<Action<P1, P2, P3, P4, P5, P6>> GetStatic(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Action<P1, P2, P3, P4, P5, P6>>

The reflected method; otherwise, null if method doesn't exist.

| Improve this Doc View Source

GetStatic<R>(String, Boolean)

Reflects static method with six parameters as delegate type .

Declaration
public static Method<Func<P1, P2, P3, P4, P5, P6, R>> GetStatic<R>(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Func<P1, P2, P3, P4, P5, P6, R>>

The reflected method; otherwise, null if method doesn't exist.

Type Parameters
Name Description
R

The method return type.

| Improve this Doc View Source

Require(String, Boolean)

Reflects instance method with six parameters and without return type as delegate type .

Declaration
public static Method<Action<T, P1, P2, P3, P4, P5, P6>> Require(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Action<T, P1, P2, P3, P4, P5, P6>>

The reflected method.

Exceptions
Type Condition
MissingMethodException

The requested method doesn't exist.

| Improve this Doc View Source

Require<R>(String, Boolean)

Reflects instance method with six parameters as delegate type .

Declaration
public static Method<Func<T, P1, P2, P3, P4, P5, P6, R>> Require<R>(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Func<T, P1, P2, P3, P4, P5, P6, R>>

The reflected method.

Type Parameters
Name Description
R

The method return type.

Exceptions
Type Condition
MissingMethodException

The requested method doesn't exist.

| Improve this Doc View Source

RequireStatic(String, Boolean)

Reflects static method with six parameters and without return type as delegate type .

Declaration
public static Method<Action<P1, P2, P3, P4, P5, P6>> RequireStatic(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Action<P1, P2, P3, P4, P5, P6>>

The reflected method.

Exceptions
Type Condition
MissingMethodException

The requested method doesn't exist.

| Improve this Doc View Source

RequireStatic<R>(String, Boolean)

Reflects static method with six parameters as delegate type .

Declaration
public static Method<Func<P1, P2, P3, P4, P5, P6, R>> RequireStatic<R>(string methodName, bool nonPublic = false)
Parameters
Type Name Description
String methodName

The name of the method.

Boolean nonPublic

true to reflect non-public method.

Returns
Type Description
Method<Func<P1, P2, P3, P4, P5, P6, R>>

The reflected method.

Type Parameters
Name Description
R

The method return type.

Exceptions
Type Condition
MissingMethodException

The requested method doesn't exist.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX