The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

SplatContainerExtension Class

Summary

A container for the Prism application.
Namespace
Splat.Prism
Interfaces
  • IDisposable
Base Types
graph BT Type-->Base0["IContainerExtension<IDependencyResolver>"] Type-.->Interface0["IDisposable"] Type["SplatContainerExtension"] class Type type-node

Syntax

[System.Diagnostics.CodeAnalysis.SuppressMessage("Analyzers", "CA1065: Don't throw exceptions from properties", Justification = "Deliberate usage")]
public class SplatContainerExtension : IContainerExtension<IDependencyResolver>, IDisposable

Attributes

Type Description
SuppressMessageAttribute

Constructors

Name Summary
SplatContainerExtension() Initializes a new instance of the SplatContainerExtension class.

Properties

Name Value Summary
CurrentScope IScopedProvider
Instance IDependencyResolver
Gets the dependency resolver.

Methods

Name Value Summary
CreateScope() IScopedProvider
Dispose() void
Dispose(bool) void
Disposes data associated with the extension.
FinalizeExtension() void
IsRegistered(Type) bool
IsRegistered(Type, string) bool
Register(Type, Func<IContainerProvider, object>) IContainerRegistry
Register(Type, Func<object>) IContainerRegistry
Register(Type, Type) IContainerRegistry
Register(Type, Type, Func<object>) IContainerRegistry
Registers an object with the default registration func.
Register(Type, Type, string) IContainerRegistry
Register(Type, Type, string, Func<object>) IContainerRegistry
Registers an object with the default registration func.
RegisterInstance(Type, object) IContainerRegistry
RegisterInstance(Type, object, string) IContainerRegistry
RegisterMany(Type, Type[]) IContainerRegistry
RegisterManySingleton(Type, Type[]) IContainerRegistry
RegisterScoped(Type, Func<IContainerProvider, object>) IContainerRegistry
RegisterScoped(Type, Func<object>) IContainerRegistry
RegisterScoped(Type, Type) IContainerRegistry
RegisterSingleton(Type, Func<IContainerProvider, object>) IContainerRegistry
RegisterSingleton(Type, Func<object>) IContainerRegistry
RegisterSingleton(Type, Type) IContainerRegistry
RegisterSingleton(Type, Type, Func<object>) IContainerRegistry
Registers an object with the default registration func.
RegisterSingleton(Type, Type, string) IContainerRegistry
RegisterSingleton(Type, Type, string, Func<object>) IContainerRegistry
Registers an object with the default registration func.
Resolve(Type) object?
Resolve(Type, (Type Type, object Instance)[]) object?
Resolve(Type, string) object?
Resolve(Type, string, (Type Type, object Instance)[]) object?

Extension Methods

Name Value Summary
BindCommand<SplatContainerExtension, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<SplatContainerExtension, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<SplatContainerExtension, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<SplatContainerExtension, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<SplatContainerExtension, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<SplatContainerExtension, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<SplatContainerExtension, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<SplatContainerExtension, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<SplatContainerExtension, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<SplatContainerExtension, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<SplatContainerExtension, TViewModel, TViewProperty>(TViewModel?, Expression<Func<SplatContainerExtension, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<SplatContainerExtension, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<SplatContainerExtension, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<SplatContainerExtension, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<SplatContainerExtension, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<SplatContainerExtension, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<SplatContainerExtension, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
DisposeWith<SplatContainerExtension>(CompositeDisposable) T
Ensures the provided disposable is disposed with the specified CompositeDisposable.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Expression<Func<SplatContainerExtension, IObservable<T7>?>>, Expression<Func<SplatContainerExtension, IObservable<T8>?>>, Expression<Func<SplatContainerExtension, IObservable<T9>?>>, Expression<Func<SplatContainerExtension, IObservable<T10>?>>, Expression<Func<SplatContainerExtension, IObservable<T11>?>>, Expression<Func<SplatContainerExtension, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Expression<Func<SplatContainerExtension, IObservable<T7>?>>, Expression<Func<SplatContainerExtension, IObservable<T8>?>>, Expression<Func<SplatContainerExtension, IObservable<T9>?>>, Expression<Func<SplatContainerExtension, IObservable<T10>?>>, Expression<Func<SplatContainerExtension, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Expression<Func<SplatContainerExtension, IObservable<T7>?>>, Expression<Func<SplatContainerExtension, IObservable<T8>?>>, Expression<Func<SplatContainerExtension, IObservable<T9>?>>, Expression<Func<SplatContainerExtension, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Expression<Func<SplatContainerExtension, IObservable<T7>?>>, Expression<Func<SplatContainerExtension, IObservable<T8>?>>, Expression<Func<SplatContainerExtension, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Expression<Func<SplatContainerExtension, IObservable<T7>?>>, Expression<Func<SplatContainerExtension, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Expression<Func<SplatContainerExtension, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Expression<Func<SplatContainerExtension, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4, T5>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Expression<Func<SplatContainerExtension, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3, T4>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Expression<Func<SplatContainerExtension, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2, T3>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Expression<Func<SplatContainerExtension, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet, T1, T2>(Expression<Func<SplatContainerExtension, IObservable<T1>?>>, Expression<Func<SplatContainerExtension, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<SplatContainerExtension, TRet>(Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>, Expression<Func<SplatContainerExtension, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<SplatContainerExtension, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.