v1.0.5.0
Activity Index. User Account country. Internals regions.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
||||
Reference in New Issue
Block a user