Create<T>(T)
Creates a strongly-typed Arguments object that represents one argument.
Declaration
public static Arguments Create<T>(T arg0)Parameters
| Type | Name | Description |
|---|---|---|
| T | arg0 | The value of the argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified argument. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the argument. |
Create<T0, T1>(T0, T1)
Creates a strongly-typed Arguments object that represents two arguments.
Declaration
public static Arguments Create<T0, T1>(T0 arg0, T1 arg1)Parameters
| Type | Name | Description |
|---|---|---|
| T0 | arg0 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
Create<T0, T1, T2>(T0, T1, T2)
Creates a strongly-typed Arguments object that represents three arguments.
Declaration
public static Arguments Create<T0, T1, T2>(T0 arg0, T1 arg1, T2 arg2)Parameters
| Type | Name | Description |
|---|---|---|
| T0 | arg0 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
| T2 | arg2 | The value of the third argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
| T2 | The type of the third argument. |
Create<T0, T1, T2, T3>(T0, T1, T2, T3)
Creates a strongly-typed Arguments object that represents four arguments.
Declaration
public static Arguments Create<T0, T1, T2, T3>(T0 arg0, T1 arg1, T2 arg2, T3 arg3)Parameters
| Type | Name | Description |
|---|---|---|
| T0 | arg0 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
| T2 | arg2 | The value of the third argument. |
| T3 | arg3 | The value of the fourth argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
| T2 | The type of the third argument. |
| T3 | The type of the fourth argument. |
Create<T0, T1, T2, T3, T4>(T0, T1, T2, T3, T4)
Creates a strongly-typed Arguments object that represents five 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 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
| T2 | arg2 | The value of the third argument. |
| T3 | arg3 | The value of the fourth argument. |
| T4 | arg4 | The value of the fifth argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
| T2 | The type of the third argument. |
| T3 | The type of the fourth argument. |
| T4 | The type of the fifth argument. |
Create<T0, T1, T2, T3, T4, T5>(T0, T1, T2, T3, T4, T5)
Creates a strongly-typed Arguments object that represents six 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 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
| T2 | arg2 | The value of the third argument. |
| T3 | arg3 | The value of the fourth argument. |
| T4 | arg4 | The value of the fifth argument. |
| T5 | args5 | The value of the sixth argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
| T2 | The type of the third argument. |
| T3 | The type of the fourth argument. |
| T4 | The type of the fifth argument. |
| T5 | The type of the sixth argument. |
Create<T0, T1, T2, T3, T4, T5, T6>(T0, T1, T2, T3, T4, T5, T6)
Creates a strongly-typed Arguments object that represents seven 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 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
| T2 | arg2 | The value of the third argument. |
| T3 | arg3 | The value of the fourth argument. |
| T4 | arg4 | The value of the fifth argument. |
| T5 | args5 | The value of the sixth argument. |
| T6 | args6 | The value of the seventh argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
| T2 | The type of the third argument. |
| T3 | The type of the fourth argument. |
| T4 | The type of the fifth argument. |
| T5 | The type of the sixth argument. |
| T6 | The type of the seventh argument. |
Create<T0, T1, T2, T3, T4, T5, T6, T7>(T0, T1, T2, T3, T4, T5, T6, T7)
Creates a strongly-typed Arguments object that represents eight 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 | The value of the first argument. |
| T1 | arg1 | The value of the second argument. |
| T2 | arg2 | The value of the third argument. |
| T3 | arg3 | The value of the fourth argument. |
| T4 | arg4 | The value of the fifth argument. |
| T5 | args5 | The value of the sixth argument. |
| T6 | args6 | The value of the seventh argument. |
| T7 | args7 | The value of the eighth argument. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |
Type Parameters
| Name | Description |
|---|---|
| T0 | The type of the first argument. |
| T1 | The type of the second argument. |
| T2 | The type of the third argument. |
| T3 | The type of the fourth argument. |
| T4 | The type of the fifth argument. |
| T5 | The type of the sixth argument. |
| T6 | The type of the seventh argument. |
| T7 | The type of the eighth argument. |
Create(params object[])
Creates a weakly-typed Arguments object that represents any number of arguments.
Declaration
public static Arguments Create(params object[] array)Parameters
| Type | Name | Description |
|---|---|---|
| object[] | array | The array of argument values. |
Returns
| Type | Description |
|---|---|
| Arguments | A new Arguments object that contains the specified arguments. |