Ejemplo n.º 1
0
 public int[] this[Enums.HouseType type]
 {
     get
     {
         return(_innerIntArrays[(int)type]);
     }
 }
Ejemplo n.º 2
0
 public int this[int x, Enums.HouseType y]
 {
     get
     {
         return(_innerIntArrays[(int)y][x]);
     }
 }
Ejemplo n.º 3
0
 public House(
     string title,
     string description,
     string address,
     int countryId,
     int cityId,
     int districtId,
     Enums.HouseType houseType)
 {
     this.Title       = title;
     this.Description = description;
     this.Address     = address;
     this.CountryId   = countryId;
     this.CityId      = cityId;
     this.DistrictId  = districtId;
     this.HouseType   = houseType;
 }