public static Parcel Register(ParcelId id, VbrCaPaKey vbrCaPaKey, IParcelFactory factory)
        {
            var parcel = factory.Create();

            parcel.ApplyChange(new ParcelWasRegistered(id, vbrCaPaKey));
            return(parcel);
        }
예제 #2
0
 public ParcelWasRegistered(
     ParcelId parcelId,
     VbrCaPaKey vbrCaPaKey)
 {
     ParcelId   = parcelId;
     VbrCaPaKey = vbrCaPaKey;
 }
 public ImportTerrainObjectFromCrab(
     VbrCaPaKey caPaKey,
     CrabTerrainObjectId terrainObjectId,
     CrabIdentifierTerrainObject identifierTerrainObject,
     CrabTerrainObjectNatureCode terrainObjectNatureCode,
     CrabCoordinate xCoordinate,
     CrabCoordinate yCoordinate,
     CrabBuildingNature buildingNature,
     CrabLifetime lifetime,
     CrabTimestamp timestamp,
     CrabOperator @operator,
     CrabModification?modification,
     CrabOrganisation?organisation)
 {
     CaPaKey                 = caPaKey;
     TerrainObjectId         = terrainObjectId;
     IdentifierTerrainObject = identifierTerrainObject;
     TerrainObjectNatureCode = terrainObjectNatureCode;
     XCoordinate             = xCoordinate;
     YCoordinate             = yCoordinate;
     BuildingNature          = buildingNature;
     Lifetime                = lifetime;
     Timestamp               = timestamp;
     Operator                = @operator;
     Modification            = modification;
     Organisation            = organisation;
 }
예제 #4
0
 public ImportTerrainObjectHouseNumberFromCrab(
     VbrCaPaKey caPaKey,
     CrabTerrainObjectHouseNumberId terrainObjectHouseNumberId,
     CrabTerrainObjectId terrainObjectId,
     CrabHouseNumberId houseNumberId,
     CrabLifetime lifetime,
     CrabTimestamp timestamp,
     CrabOperator @operator,
     CrabModification?modification,
     CrabOrganisation?organisation)
 {
     CaPaKey = caPaKey;
     TerrainObjectHouseNumberId = terrainObjectHouseNumberId;
     TerrainObjectId            = terrainObjectId;
     HouseNumberId = houseNumberId;
     Lifetime      = lifetime;
     Timestamp     = timestamp;
     Operator      = @operator;
     Modification  = modification;
     Organisation  = organisation;
 }
 public ImportSubaddressFromCrab(
     VbrCaPaKey caPaKey,
     CrabSubaddressId subaddressId,
     CrabHouseNumberId houseNumberId,
     BoxNumber boxNumber,
     CrabBoxNumberType boxNumberType,
     CrabLifetime lifetime,
     CrabTimestamp timestamp,
     CrabOperator @operator,
     CrabModification?modification,
     CrabOrganisation?organisation)
 {
     CaPaKey       = caPaKey;
     SubaddressId  = subaddressId;
     HouseNumberId = houseNumberId;
     BoxNumber     = boxNumber;
     BoxNumberType = boxNumberType;
     Lifetime      = lifetime;
     Timestamp     = timestamp;
     Operator      = @operator;
     Modification  = modification;
     Organisation  = organisation;
 }