RootDrives WIP
This commit is contained in:
@@ -7,11 +7,15 @@ namespace FileTime.App.Core.Models;
|
||||
|
||||
public partial class BindedCollection<T> : IDisposable, INotifyPropertyChanged
|
||||
{
|
||||
private readonly IDisposable _disposable;
|
||||
private readonly IDisposable? _disposable;
|
||||
private IDisposable? _innerDisposable;
|
||||
|
||||
[Notify] private ReadOnlyObservableCollection<T>? _collection;
|
||||
|
||||
public BindedCollection()
|
||||
{
|
||||
}
|
||||
|
||||
public BindedCollection(IObservable<IChangeSet<T>> dynamicList)
|
||||
{
|
||||
_disposable = dynamicList
|
||||
@@ -45,7 +49,7 @@ public partial class BindedCollection<T> : IDisposable, INotifyPropertyChanged
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_disposable.Dispose();
|
||||
_disposable?.Dispose();
|
||||
_innerDisposable?.Dispose();
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace FileTime.App.Core.Services;
|
||||
|
||||
public interface IExitHandler
|
||||
{
|
||||
Task ExitAsync();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace FileTime.App.Core.Services;
|
||||
|
||||
public interface IStartupHandler
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user