Activity Index. User Account country. Internals regions.
This commit is contained in:
2021-05-25 22:00:08 +01:00
parent 778ee3aa03
commit 63473c725b
173 changed files with 8149 additions and 41639 deletions
+11 -1
View File
@@ -255,7 +255,7 @@ namespace Saxonite.Net.Standard.Base.Bus
// List filtering.
public List<SysId> IdsIncluded { get; } = new List<SysId>();
public List<SysId> IdsExcluded { get; } = new List<SysId>();
public List<SysId> IncludedParentRegionIds { get; } = new List<SysId>();
public List<SysId> ParentRegionIdsIncluded { get; } = new List<SysId>();
public Sax.RegionType RegionType { get; set; }
public List<String> CountryIso2CodesIncluded { get; } = new List<String>();
public List<String> CountryIso2CodesExcluded { get; } = new List<String>();
@@ -273,6 +273,16 @@ namespace Saxonite.Net.Standard.Base.Bus
// Company list methods.
public static class SaxRegionList
{
//-------------------------------------------------------------------
/// <summary>
/// Extract the first Region in list with the specified Id.
/// </summary>
public static SaxRegion GetRegionById(this List<SaxRegion> values, SysId regionId)
{
return values.Find(item => item.Id.Equals(regionId));
}
//-------------------------------------------------------------------
}
//=======================================================================