Interface IViewModel
Interface IViewModel Implements the IObservableClass Implements the ICleanup
Inherited Members
Namespace: ISynergy.Framework.Mvvm.Abstractions.ViewModels
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public interface IViewModel : IObservableClass, IBindable, ICleanup
Properties
View SourceBaseCommonServices
Gets the base common services.
Declaration
IBaseCommonServices BaseCommonServices { get; }
Property Value
Type | Description |
---|---|
IBaseCommonServices | The base common services. |
CanClose
Gets or sets a value indicating whether this instance can close.
Declaration
bool CanClose { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CloseCommand
Gets the close _command.
Declaration
RelayCommand CloseCommand { get; }
Property Value
Type | Description |
---|---|
RelayCommand | The close _command. |
Context
Gets the context.
Declaration
IContext Context { get; }
Property Value
Type | Description |
---|---|
IContext | The context. |
IsCancelled
Gets a value indicating whether this instance is cancelled.
Declaration
bool IsCancelled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsInitialized
Gets or sets a value indicating whether this instance is initialized.
Declaration
bool IsInitialized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsRefreshing
Gets or sets a value indicating that viewmodel is refreshing.
Declaration
bool IsRefreshing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Logger
Gets the logger.
Declaration
ILogger Logger { get; }
Property Value
Type | Description |
---|---|
ILogger | The logger. |
Parameter
Gets or sets an optional parameter.
Declaration
object Parameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Title
Gets the title.
Declaration
string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Methods
View SourceInitializeAsync()
Initializes the asynchronous.
Declaration
Task InitializeAsync()
Returns
Type | Description |
---|---|
Task | Task. |
OnCancelled(EventArgs)
Declaration
void OnCancelled(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnClosed(EventArgs)
Declaration
void OnClosed(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnPropertyChanged(Object, PropertyChangedEventArgs)
Handles the PropertyChanged event.
Declaration
void OnPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
PropertyChangedEventArgs | e | The |
Events
View SourceCancelled
Occurs when [cancelled].
Declaration
event EventHandler Cancelled
Event Type
Type | Description |
---|---|
EventHandler |
Closed
Occurs when [closed].
Declaration
event EventHandler Closed
Event Type
Type | Description |
---|---|
EventHandler |