sa/Stars Assistant/ViewModels/BuColViewModel.cs

26 lines
692 B
C#
Raw Normal View History

2024-09-22 20:12:46 +00:00
using System.Collections.ObjectModel;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using ReactiveUI.SourceGenerators;
using Splat;
namespace StarsAssistant.ViewModels;
2024-09-23 20:40:18 +00:00
public partial class BuColViewModel : ViewModelBase
2024-09-22 20:12:46 +00:00
{
public BuColViewModel()
{
this.WhenActivated((CompositeDisposable disposables) =>
{
// /* handle activation */
// Disposable
// .Create(() => { /* handle deactivation */ })
// .DisposeWith(disposables);
});
}
2024-09-24 20:32:13 +00:00
public ObservableCollection<PlayerPlanetViewModel> Planets { get; } = PlanetViewModel.LoadAll();
2024-09-22 20:12:46 +00:00
}