Removed E2_Navigate, G_Index, G2_Identify and
NotCopyCopy
This commit is contained in:
@ -1,47 +0,0 @@
|
||||
namespace View_by_Distance.Property.Models;
|
||||
|
||||
public class DirectoryInfo
|
||||
{
|
||||
|
||||
protected readonly Shared.Models.FileHolder[] _SourceDirectoryFileHolderCollection;
|
||||
protected readonly string[] _FilteredSourceDirectoryFiles;
|
||||
protected readonly int _G;
|
||||
protected readonly bool[] _Moved;
|
||||
protected readonly bool?[] _Changed;
|
||||
protected readonly Shared.Models.Property?[] _PropertyCollection;
|
||||
protected readonly FileInfo?[] _PropertyFileHolderCollection;
|
||||
protected readonly int _R;
|
||||
protected readonly string _SourceDirectory;
|
||||
protected readonly bool[] _ValidImageFormatExtensionCollection;
|
||||
protected readonly bool[] _WrongYear;
|
||||
public Shared.Models.FileHolder[] SourceDirectoryFileHolderCollection => _SourceDirectoryFileHolderCollection;
|
||||
[Obsolete($"Use {nameof(SourceDirectoryFileHolderCollection)}")]
|
||||
public string[] FilteredSourceDirectoryFiles => _FilteredSourceDirectoryFiles;
|
||||
public int G => _G;
|
||||
public bool[] Moved => _Moved;
|
||||
public bool?[] Changed => _Changed;
|
||||
public Shared.Models.Property?[] PropertyCollection => _PropertyCollection;
|
||||
public FileInfo?[] PropertyFileHolderCollection => _PropertyFileHolderCollection;
|
||||
public int R => _R;
|
||||
public string SourceDirectory => _SourceDirectory;
|
||||
public bool[] ValidImageFormatExtensionCollection => _ValidImageFormatExtensionCollection;
|
||||
public bool[] WrongYear => _WrongYear;
|
||||
|
||||
public DirectoryInfo(int g, string sourceDirectory, string[] filteredSourceDirectoryFiles, int r)
|
||||
{
|
||||
int length = filteredSourceDirectoryFiles.Length;
|
||||
_G = g;
|
||||
_R = r;
|
||||
_Changed = Array.Empty<bool?>();
|
||||
_SourceDirectory = sourceDirectory;
|
||||
_Moved = Enumerable.Repeat(false, length).ToArray();
|
||||
_WrongYear = Enumerable.Repeat(false, length).ToArray();
|
||||
_FilteredSourceDirectoryFiles = filteredSourceDirectoryFiles;
|
||||
_ValidImageFormatExtensionCollection = Enumerable.Repeat(false, length).ToArray();
|
||||
_PropertyFileHolderCollection = Enumerable.Repeat<FileInfo?>(null, length).ToArray();
|
||||
_PropertyCollection = Enumerable.Repeat<Shared.Models.Property?>(null, length).ToArray();
|
||||
_SourceDirectoryFileHolderCollection = (from l in filteredSourceDirectoryFiles select new Shared.Models.FileHolder(l)).ToArray();
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user