sa/Stars Assistant/ViewModels/BuColViewModel.cs
2024-09-24 22:32:13 +02:00

26 lines
692 B
C#

using System.Collections.ObjectModel;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using ReactiveUI.SourceGenerators;
using Splat;
namespace StarsAssistant.ViewModels;
public partial class BuColViewModel : ViewModelBase
{
public BuColViewModel()
{
this.WhenActivated((CompositeDisposable disposables) =>
{
// /* handle activation */
// Disposable
// .Create(() => { /* handle deactivation */ })
// .DisposeWith(disposables);
});
}
public ObservableCollection<PlayerPlanetViewModel> Planets { get; } = PlanetViewModel.LoadAll();
}