Skip to content

)} )} )} )} )} )} )} )} )} )} )} )} )} )} )} )}

ReactiveUIBuilder.WithInstance(Action) method

Defined in

Type: ReactiveUIBuilder 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. public IReactiveUIInstance WithInstance<T>(Action<T?> action)
  • 2. public IReactiveUIInstance WithInstance<T1, T2>(Action<T1?, T2?> action)
  • 3. public IReactiveUIInstance WithInstance<T1, T2, T3>(Action<T1?, T2?, T3?> action)
  • 4. public IReactiveUIInstance WithInstance<T1, T2, T3, T4>(Action<T1?, T2?, T3?, T4?> action)
  • 5. public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5>(Action<T1?, T2?, T3?, T4?, T5?> action)
  • 6. public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6>(Action<T1?, T2?, T3?, T4?, T5?, T6?> action)
  • 7. public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?> action)
  • 8. public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> action)
  • 9. public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> action)
  • 10. public 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. public 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. public 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. public 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. public 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. public 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. public 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

public IReactiveUIInstance WithInstance<T>(Action<T?> action)

View source

Summary: Resolves a single instance and passes it to the action.

Type parameters

NameDescription
TThe type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

2. Overload

public IReactiveUIInstance WithInstance<T1, T2>(Action<T1?, T2?> action)

View source

Summary: Resolves two instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

3. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3>(Action<T1?, T2?, T3?> action)

View source

Summary: Resolves three instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

4. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4>(Action<T1?, T2?, T3?, T4?> action)

View source

Summary: Resolves four instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

5. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5>(Action<T1?, T2?, T3?, T4?, T5?> action)

View source

Summary: Resolves five instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

6. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6>(Action<T1?, T2?, T3?, T4?, T5?, T6?> action)

View source

Summary: Resolves six instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

7. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?> action)

View source

Summary: Resolves seven instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

8. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> action)

View source

Summary: Resolves eight instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

9. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> action)

View source

Summary: Resolves nine instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

10. Overload

public IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> action)

View source

Summary: Resolves ten instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

11. Overload

public 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)

View source

Summary: Resolves eleven instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

12. Overload

public 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)

View source

Summary: Resolves twelve instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

13. Overload

public 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)

View source

Summary: Resolves thirteen instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

14. Overload

public 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)

View source

Summary: Resolves fourteen instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
T14The fourteenth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

15. Overload

public 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)

View source

Summary: Resolves fifteen instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
T14The fourteenth type to resolve.
T15The fifteenth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.

16. Overload

public 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)

View source

Summary: Resolves sixteen instances and passes them to the action.

Type parameters

NameDescription
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
T14The fourteenth type to resolve.
T15The fifteenth type to resolve.
T16The sixteenth type to resolve.

Parameters

NameTypeDescription
actionActionThe action.

Returns: IReactiveUIInstance -- IReactiveUIInstance instance for chaining.