14 lines
425 B
C#
14 lines
425 B
C#
using System.Collections.ObjectModel;
|
|
|
|
namespace net.nehmer.sa.ViewModels;
|
|
|
|
public partial class MainWindowViewModel : ViewModelBase
|
|
{
|
|
#pragma warning disable CA1822 // Mark members as static
|
|
public string Greeting => "Welcome to Stars Assistant!";
|
|
#pragma warning restore CA1822 // Mark members as static
|
|
|
|
public ObservableCollection<PlanetViewModel> Planets { get; } = PlanetViewModel.LoadAll();
|
|
|
|
}
|