Class MapsViewModel
Class MapsViewModel. Implements the ViewModelDialog<TEntity>
Implements
IViewModelDialog<System.Object>
IViewModelSelectedItem<System.Object>
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Mvvm.ViewModels
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public class MapsViewModel : ViewModelDialog<object>, IViewModelDialog<object>, IViewModelSelectedItem<object>, IViewModel, IObservableClass, IBindable, ICleanup
Constructors
View SourceMapsViewModel(IContext, IBaseCommonServices, ILogger, String, String)
Initializes a new instance of the MapsViewModel class.
Declaration
public MapsViewModel(IContext context, IBaseCommonServices commonServices, ILogger logger, string name, string address)
Parameters
Type | Name | Description |
---|---|---|
IContext | context | The context. |
IBaseCommonServices | commonServices | The common services. |
ILogger | logger | The logger factory. |
System.String | name | The name. |
System.String | address | The address. |
Properties
View SourceAddress
Gets or sets the Address property value.
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
System.String | The address. |
Content
Gets or sets the Content property value.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String | The content. |
DistcanceToArrival
Gets or sets the DistcanceToArrival property value.
Declaration
public double DistcanceToArrival { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The distcance to arrival. |
Locations
Gets or sets the Locations property value.
Declaration
public ObservableCollection<object> Locations { get; set; }
Property Value
Type | Description |
---|---|
ObservableCollection<System.Object> | The locations. |
Name
Gets or sets the Name property value.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
TimeToArrival
Gets or sets the TimeToArrival property value.
Declaration
public double TimeToArrival { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The time to arrival. |
Title
Gets or sets the Title property value.
Declaration
public override string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Overrides
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Extension Methods
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
See Also
ViewModelDialog<TEntity>