Open sandboxFocus

Method Create

Create<T>(T)

Creates a strongly-typed Arguments object representing 1 argument.

Declaration
public static Arguments Create<T>(T arg0)
Parameters
Type Name Description
T arg0
Returns
Type Description
Arguments
Type Parameters
Name Description
T

Create<T0, T1>(T0, T1)

Creates a strongly-typed Arguments object representing 2 arguments.

Declaration
public static Arguments Create<T0, T1>(T0 arg0, T1 arg1)
Parameters
Type Name Description
T0 arg0
T1 arg1
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1

Create<T0, T1, T2>(T0, T1, T2)

Creates a strongly-typed Arguments object representing 3 arguments.

Declaration
public static Arguments Create<T0, T1, T2>(T0 arg0, T1 arg1, T2 arg2)
Parameters
Type Name Description
T0 arg0
T1 arg1
T2 arg2
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1
T2

Create<T0, T1, T2, T3>(T0, T1, T2, T3)

Creates a strongly-typed Arguments object representing 4 arguments.

Declaration
public static Arguments Create<T0, T1, T2, T3>(T0 arg0, T1 arg1, T2 arg2, T3 arg3)
Parameters
Type Name Description
T0 arg0
T1 arg1
T2 arg2
T3 arg3
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1
T2
T3

Create<T0, T1, T2, T3, T4>(T0, T1, T2, T3, T4)

Creates a strongly-typed Arguments object representing 5 arguments.

Declaration
public static Arguments Create<T0, T1, T2, T3, T4>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Parameters
Type Name Description
T0 arg0
T1 arg1
T2 arg2
T3 arg3
T4 arg4
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1
T2
T3
T4

Create<T0, T1, T2, T3, T4, T5>(T0, T1, T2, T3, T4, T5)

Creates a strongly-typed Arguments object representing 6 arguments.

Declaration
public static Arguments Create<T0, T1, T2, T3, T4, T5>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 args5)
Parameters
Type Name Description
T0 arg0
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 args5
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1
T2
T3
T4
T5

Create<T0, T1, T2, T3, T4, T5, T6>(T0, T1, T2, T3, T4, T5, T6)

Creates a strongly-typed Arguments object representing 7 arguments.

Declaration
public static Arguments Create<T0, T1, T2, T3, T4, T5, T6>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 args5, T6 args6)
Parameters
Type Name Description
T0 arg0
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 args5
T6 args6
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1
T2
T3
T4
T5
T6

Create<T0, T1, T2, T3, T4, T5, T6, T7>(T0, T1, T2, T3, T4, T5, T6, T7)

Creates a strongly-typed Arguments object representing 8 arguments.

Declaration
public static Arguments Create<T0, T1, T2, T3, T4, T5, T6, T7>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 args5, T6 args6, T7 args7)
Parameters
Type Name Description
T0 arg0
T1 arg1
T2 arg2
T3 arg3
T4 arg4
T5 args5
T6 args6
T7 args7
Returns
Type Description
Arguments
Type Parameters
Name Description
T0
T1
T2
T3
T4
T5
T6
T7

Create(params object[])

Creates a weakly-typed Arguments object representing any number of arguments.

Declaration
public static Arguments Create(params object[] array)
Parameters
Type Name Description
object[] array
Returns
Type Description
Arguments