Class NoteViewModel
Class NoteViewModel. Implements the ViewModelDialog<TEntity>
Implements
IViewModelDialog<System.String>
IViewModelSelectedItem<System.String>
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Mvvm.ViewModels
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public class NoteViewModel : ViewModelDialog<string>, IViewModelDialog<string>, IViewModelSelectedItem<string>, IViewModel, IObservableClass, IBindable, ICleanup
Constructors
View SourceNoteViewModel(IContext, IBaseCommonServices, ILogger, String)
Initializes a new instance of the NoteViewModel class.
Declaration
public NoteViewModel(IContext context, IBaseCommonServices commonServices, ILogger logger, string note)
Parameters
Type | Name | Description |
---|---|---|
IContext | context | The context. |
IBaseCommonServices | commonServices | The common services. |
ILogger | logger | The logger factory. |
System.String | note | The note. |
NoteViewModel(IContext, IBaseCommonServices, ILogger, String, String)
Initializes a new instance of the NoteViewModel class.
Declaration
public NoteViewModel(IContext context, IBaseCommonServices commonServices, ILogger logger, string note, string targetProperty)
Parameters
Type | Name | Description |
---|---|---|
IContext | context | The context. |
IBaseCommonServices | commonServices | The common services. |
ILogger | logger | The logger factory. |
System.String | note | The note. |
System.String | targetProperty | The target property. |
Properties
View SourceTitle
Gets the title.
Declaration
public override string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Overrides
Methods
View SourceOnSubmitted(SubmitEventArgs<String>)
Called when [submitted].
Declaration
protected override void OnSubmitted(SubmitEventArgs<string> e)
Parameters
Type | Name | Description |
---|---|---|
SubmitEventArgs<System.String> | e | The e. |
Overrides
ISynergy.Framework.Mvvm.ViewModels.ViewModelDialog<System.String>.OnSubmitted(ISynergy.Framework.Mvvm.Events.SubmitEventArgs<System.String>)
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Extension Methods
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
See Also
ViewModelDialog<TEntity>