NativePath, Editor, ToastMessageSink
This commit is contained in:
@@ -6,6 +6,7 @@ namespace FileTime.Core.Models
|
||||
{
|
||||
string Name { get; }
|
||||
string? FullName { get; }
|
||||
string? NativePath { get; }
|
||||
bool IsHidden { get; }
|
||||
bool IsDestroyed { get; }
|
||||
SupportsDelete CanDelete { get; }
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace FileTime.Core.Models
|
||||
public string Name => BaseContainer.Name;
|
||||
|
||||
public string? FullName => BaseContainer.FullName;
|
||||
public string? NativePath => BaseContainer.NativePath;
|
||||
|
||||
public bool IsHidden => BaseContainer.IsHidden;
|
||||
public bool IsLoaded => BaseContainer.IsLoaded;
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace FileTime.Core.Providers
|
||||
#pragma warning restore CS8603 // Possible null reference return.
|
||||
|
||||
public string? FullName => null;
|
||||
public string? NativePath => null;
|
||||
|
||||
public bool IsHidden => false;
|
||||
public bool IsLoaded => true;
|
||||
|
||||
@@ -31,6 +31,9 @@ namespace FileTime.Core.Timeline
|
||||
|
||||
public bool IsDestroyed { get; private set; }
|
||||
|
||||
//FIXME: currently this can be different of the real items NativePath, should be fixed
|
||||
public string? NativePath => FullName;
|
||||
|
||||
public TimeContainer(string name, IContainer parent, IContentProvider contentProvider, IContentProvider virtualContentProvider, PointInTime pointInTime)
|
||||
{
|
||||
_parent = parent;
|
||||
|
||||
@@ -22,6 +22,9 @@ namespace FileTime.Core.Timeline
|
||||
|
||||
public string? FullName { get; }
|
||||
|
||||
//FIXME: currently this can be different of the real items NativePath, should be fixed
|
||||
public string? NativePath => FullName;
|
||||
|
||||
public bool IsHidden => false;
|
||||
|
||||
public SupportsDelete CanDelete => SupportsDelete.True;
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace FileTime.Core.Timeline
|
||||
public string Name => "time";
|
||||
|
||||
public string? FullName => null;
|
||||
public string? NativePath => null;
|
||||
|
||||
public bool IsHidden => false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user