Command refactor, fixes, improvements

This commit is contained in:
2022-02-18 23:28:33 +01:00
parent 502f80313a
commit 5a88911ca7
42 changed files with 456 additions and 292 deletions

View File

@@ -37,12 +37,14 @@ namespace FileTime.Core.Providers
IContentProvider IItem.Provider => Provider;
public abstract bool IsExists { get; }
protected AbstractContainer(TProvider provider, IContainer parent, string name)
{
_parent = parent;
Provider = provider;
Name = name;
FullName = (parent?.FullName ?? Name) + Constants.SeparatorChar + Name;
FullName = parent.FullName == null ? Name : parent.FullName + Constants.SeparatorChar + Name;
Exceptions = _exceptions.AsReadOnly();
}