Testing
This commit is contained in:
@ -21,6 +21,20 @@ public record FilePath(long CreationTicks,
|
||||
int? SortOrder)
|
||||
{
|
||||
|
||||
public static FilePath? GetNullSafe(Properties.IPropertyConfiguration propertyConfiguration, FileHolder fileHolder, int? index)
|
||||
{
|
||||
FilePath? result;
|
||||
if (fileHolder.CreationTime is null)
|
||||
result = null;
|
||||
else if (fileHolder.LastWriteTime is null)
|
||||
result = null;
|
||||
else if (fileHolder.Length is null)
|
||||
result = null;
|
||||
else
|
||||
result = Get(propertyConfiguration, fileHolder, index);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static FilePath Get(Properties.IPropertyConfiguration propertyConfiguration, FileHolder fileHolder, int? index)
|
||||
{
|
||||
if (fileHolder.CreationTime is null)
|
||||
|
Reference in New Issue
Block a user