Table of Contents

Class DialogViewModelBase<TResult>

Namespace
Artemis.UI.Shared
Assembly
Artemis.UI.Shared.dll

Represents the base class for Artemis view models used to drive dialogs

public abstract class DialogViewModelBase<TResult> : ValidatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IValidatableViewModel, IDisposable, IActivatableViewModel

Type Parameters

TResult
Inheritance
object
ReactiveObject
ReactiveValidationObject
DialogViewModelBase<TResult>
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
IValidatableViewModel
IActivatableViewModel
Derived
Inherited Members
ReactiveValidationObject.Dispose()
ReactiveValidationObject.HasErrors
ReactiveValidationObject.ValidationContext
ReactiveValidationObject.ErrorsChanged
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged

Methods

Close(TResult)

Closes the dialog with the given result

public void Close(TResult result)

Parameters

result TResult

The result of the dialog