)} )} )} )} )} )} )} )} )} )} )} )} )} )} )} )}
IReactiveUIBuilder.WithInstance(Action) method¶
Defined in
Type: IReactiveUIBuilder
Namespace: ReactiveUI.Reactive.Builder
Assembly: ReactiveUI.Reactive.dll
Applies to
net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471
Overloads¶
- 1.
IReactiveUIInstance WithInstance<T>(Action<T?> action) - 2.
IReactiveUIInstance WithInstance<T1, T2>(Action<T1?, T2?> action) - 3.
IReactiveUIInstance WithInstance<T1, T2, T3>(Action<T1?, T2?, T3?> action) - 4.
IReactiveUIInstance WithInstance<T1, T2, T3, T4>(Action<T1?, T2?, T3?, T4?> action) - 5.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5>(Action<T1?, T2?, T3?, T4?, T5?> action) - 6.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6>(Action<T1?, T2?, T3?, T4?, T5?, T6?> action) - 7.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?> action) - 8.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> action) - 9.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> action) - 10.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> action) - 11.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> action) - 12.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> action) - 13.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> action) - 14.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> action) - 15.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> action) - 16.
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?, T16?> action)
1. Overload¶
IReactiveUIInstance WithInstance<T>(Action<T?> action)
Summary: Resolves a single instance and passes it to the action.
Type parameters
| Name | Description |
|---|---|
T | The type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
2. Overload¶
IReactiveUIInstance WithInstance<T1, T2>(Action<T1?, T2?> action)
Summary: Resolves two instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
3. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3>(Action<T1?, T2?, T3?> action)
Summary: Resolves three instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
4. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4>(Action<T1?, T2?, T3?, T4?> action)
Summary: Resolves four instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
5. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5>(Action<T1?, T2?, T3?, T4?, T5?> action)
Summary: Resolves five instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
6. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6>(Action<T1?, T2?, T3?, T4?, T5?, T6?> action)
Summary: Resolves six instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
7. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?> action)
Summary: Resolves seven instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
8. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> action)
Summary: Resolves eight instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
9. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> action)
Summary: Resolves nine instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
10. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> action)
Summary: Resolves ten instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
11. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> action)
Summary: Resolves eleven instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
T11 | The eleventh type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
12. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> action)
Summary: Resolves twelve instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
T11 | The eleventh type to resolve. |
T12 | The twelfth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
13. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> action)
Summary: Resolves thirteen instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
T11 | The eleventh type to resolve. |
T12 | The twelfth type to resolve. |
T13 | The thirteenth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
14. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> action)
Summary: Resolves fourteen instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
T11 | The eleventh type to resolve. |
T12 | The twelfth type to resolve. |
T13 | The thirteenth type to resolve. |
T14 | The fourteenth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
15. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> action)
Summary: Resolves fifteen instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
T11 | The eleventh type to resolve. |
T12 | The twelfth type to resolve. |
T13 | The thirteenth type to resolve. |
T14 | The fourteenth type to resolve. |
T15 | The fifteenth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.
16. Overload¶
IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?, T16?> action)
Summary: Resolves sixteen instances and passes them to the action.
Type parameters
| Name | Description |
|---|---|
T1 | The first type to resolve. |
T2 | The second type to resolve. |
T3 | The third type to resolve. |
T4 | The fourth type to resolve. |
T5 | The fifth type to resolve. |
T6 | The sixth type to resolve. |
T7 | The seventh type to resolve. |
T8 | The eighth type to resolve. |
T9 | The ninth type to resolve. |
T10 | The tenth type to resolve. |
T11 | The eleventh type to resolve. |
T12 | The twelfth type to resolve. |
T13 | The thirteenth type to resolve. |
T14 | The fourteenth type to resolve. |
T15 | The fifteenth type to resolve. |
T16 | The sixteenth type to resolve. |
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action. |
Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.