Class DialogViewModelBase<TResult>
Represents the base class for Artemis view models used to drive dialogs
Inheritance
ReactiveObject
ReactiveValidationObject
DialogViewModelBase<TResult>
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
IValidatableViewModel
IActivatableViewModel
Inherited Members
ReactiveValidationObject.HasErrors
ReactiveValidationObject.ValidationContext
ReactiveValidationObject.ErrorsChanged
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
Namespace: Artemis.UI.Shared
Assembly: Artemis.UI.Shared.dll
Syntax
public abstract class DialogViewModelBase<TResult> : ValidatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IValidatableViewModel, IActivatableViewModel
Type Parameters
Name | Description |
---|---|
TResult |
Constructors
DialogViewModelBase()
Declaration
protected DialogViewModelBase()
Methods
Close(TResult)
Closes the dialog with the given result
Declaration
public void Close(TResult result)
Parameters
Type | Name | Description |
---|---|---|
TResult | result | The result of the dialog |
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
Splat.IEnableLogger
ReactiveUI.Validation.Abstractions.IValidatableViewModel
ReactiveUI.IActivatableViewModel