Re-write
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
using System.Text.Json;
|
||||
using View_by_Distance.Property.Models;
|
||||
|
||||
namespace View_by_Distance.PropertyCompare.Models;
|
||||
|
||||
@ -11,7 +10,7 @@ public partial class PropertyCompare
|
||||
protected readonly bool _IsArg;
|
||||
protected DateTime _MinimumDateTime;
|
||||
protected readonly List<long> _Numbers;
|
||||
protected A_Property? _Property;
|
||||
protected Shared.Models.Property? _Property;
|
||||
protected string _RegexResult;
|
||||
protected string _RelativeDirectory;
|
||||
protected readonly List<string> _Strings;
|
||||
@ -21,12 +20,12 @@ public partial class PropertyCompare
|
||||
public bool IsArg => _IsArg;
|
||||
public DateTime MinimumDateTime => _MinimumDateTime;
|
||||
public List<long> Numbers => _Numbers;
|
||||
public A_Property? Property => _Property;
|
||||
public Shared.Models.Property? Property => _Property;
|
||||
public string RegexResult => _RegexResult;
|
||||
public string RelativeDirectory => _RelativeDirectory;
|
||||
public List<string> Strings => _Strings;
|
||||
|
||||
public PropertyCompare(string extension, string fileNameWithoutExtension, bool isArg, DateTime minimumDateTime, List<long> numbers, A_Property property, string regexResult, string relativeDirectory, List<string> strings)
|
||||
public PropertyCompare(string extension, string fileNameWithoutExtension, bool isArg, DateTime minimumDateTime, List<long> numbers, Shared.Models.Property property, string regexResult, string relativeDirectory, List<string> strings)
|
||||
{
|
||||
_IsArg = isArg;
|
||||
_Numbers = numbers;
|
||||
@ -49,7 +48,7 @@ public partial class PropertyCompare
|
||||
|
||||
#nullable disable
|
||||
|
||||
public string GetSelect() => string.Concat(_RelativeDirectory, _FileNameWithoutExtension, _Extension, '\t', _Property.CreationTime.Ticks, '\t', View_by_Distance.Property.Models.Stateless.A_Property.GetDateTime(_Property).ToString("yyyy-MM-dd_HH-mm-ss"), '\t', _Property.Id, '\t', _Property.FileSize, '\t', _Property.Width, '\t', _Property.Height);
|
||||
public string GetSelect() => string.Concat(_RelativeDirectory, _FileNameWithoutExtension, _Extension, '\t', _Property.CreationTime.Ticks, '\t', Shared.Models.Stateless.Methods.IProperty.GetDateTime(_Property).ToString("yyyy-MM-dd_HH-mm-ss"), '\t', _Property.Id, '\t', _Property.FileSize, '\t', _Property.Width, '\t', _Property.Height);
|
||||
|
||||
#nullable restore
|
||||
|
||||
|
Reference in New Issue
Block a user