Exemplo n.º 1
0
 public BagVerblijfsobject(
     string id,
     BagVersion version,
     string relatedMainAddress,
     ImmutableList <string> relatedAdditionalAddresses,
     ImmutableList <string> relatedPanden) : base(id, version)
 {
     RelatedMainAddress         = relatedMainAddress;
     RelatedAdditionalAddresses = relatedAdditionalAddresses;
     RelatedPanden = relatedPanden;
 }
Exemplo n.º 2
0
 public BagVerblijfsobject(
     string id,
     BagVersion version,
     string relatedMainAddress,
     params string[] relatedPanden) : this(
         id,
         version,
         relatedMainAddress,
         ImmutableList <string> .Empty,
         relatedPanden.ToImmutableList())
 {
 }
Exemplo n.º 3
0
 public BagNummeraanduiding(
     string id,
     BagVersion version,
     int houseNumber,
     char?houseLetter,
     string houseNumberAddition,
     string postalCode,
     string relatedOpenbareRuimte) : base(id, version)
 {
     HouseNumber           = houseNumber;
     HouseLetter           = houseLetter;
     HouseNumberAddition   = houseNumberAddition;
     PostalCode            = postalCode;
     RelatedOpenbareRuimte = relatedOpenbareRuimte;
 }
Exemplo n.º 4
0
 public static BagVersion WithActive(this BagVersion bagVersion, bool active) => bagVersion with
Exemplo n.º 5
0
 public static bool CallIsActiveWithReferenceWithinValidityInterval(this BagVersion bagVersion)
 => bagVersion.IsActive(bagVersion.ValidityInterval.Start + Duration.FromSeconds(5));
Exemplo n.º 6
0
 public BagOpenbareRuimte(string id, BagVersion version, string name, string relatedWoonplaats) : base(id, version)
 {
     Name = name;
     RelatedWoonplaats = relatedWoonplaats;
 }
Exemplo n.º 7
0
 public BagWoonplaats(string id, BagVersion version, string name) : base(id, version)
 {
     Name = name;
 }
Exemplo n.º 8
0
 public BagPand(string id, BagVersion version, int constructionYear, GeometryPolygon geometry) : base(id, version)
 {
     ConstructionYear = constructionYear;
     Geometry         = geometry;
 }
Exemplo n.º 9
0
 protected BagBase(string id, BagVersion version)
 {
     Id      = id;
     Version = version;
 }