Container bug fix

This commit is contained in:
2022-08-29 10:59:41 -07:00
parent c1d30b5bbc
commit 659e0e39bf
14 changed files with 140 additions and 80 deletions

View File

@ -30,8 +30,8 @@ public interface IProperty
static string GetDiffRootDirectory(string diffPropertyDirectory) =>
Property.GetDiffRootDirectory(diffPropertyDirectory);
bool TestStatic_Any(List<Models.Container> propertyHolderCollections);
static bool Any(List<Models.Container> propertyHolderCollections) =>
bool TestStatic_Any(Models.Container[] propertyHolderCollections);
static bool Any(Models.Container[] propertyHolderCollections) =>
Property.Any(propertyHolderCollections);
(bool?, string[]) TestStatic_IsWrongYear(string[] segments, string year);

View File

@ -253,7 +253,7 @@ internal abstract class Property
return new(j, dateTimes, results);
}
internal static bool Any(List<Models.Container> propertyHolderCollections)
internal static bool Any(Models.Container[] propertyHolderCollections)
{
bool result = false;
foreach (Models.Container container in propertyHolderCollections)