2007-01-32 Thomas Van Machelen <thomas.vanmachelen@gmail.com>
* src/Mono.Upcoming/Event.cs: * src/Mono.Upcoming/Group.cs: * src/Mono.Upcoming/Venue.cs: remove some unnecessary code svn path=/trunk/upcoming-sharp/; revision=72046
This commit is contained in:
Родитель
ae09e97fc0
Коммит
d2949be44a
|
@ -1,3 +1,8 @@
|
|||
2007-01-32 Thomas Van Machelen <thomas.vanmachelen@gmail.com>
|
||||
* src/Mono.Upcoming/Event.cs:
|
||||
* src/Mono.Upcoming/Group.cs:
|
||||
* src/Mono.Upcoming/Venue.cs: remove some unnecessary code
|
||||
|
||||
2007-01-20 Thomas Van Machelen <thomas.vanmachelen@gmail.com>
|
||||
* src/Mono.Upcoming/Category.cs: change ID from string to int
|
||||
|
||||
|
|
|
@ -57,14 +57,14 @@ namespace Mono.Upcoming
|
|||
public int personal;
|
||||
|
||||
public bool Personal {
|
||||
get { return personal == 1 ? true : false; }
|
||||
get { return personal == 1; }
|
||||
}
|
||||
|
||||
[XmlAttribute ("self_promotion")]
|
||||
public int self_promotion;
|
||||
|
||||
public bool SelfPromotion {
|
||||
get { return self_promotion == 1 ? true : false; }
|
||||
get { return self_promotion == 1; }
|
||||
}
|
||||
|
||||
[XmlAttribute ("metro_id")]
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace Mono.Upcoming
|
|||
public int is_private;
|
||||
|
||||
public bool IsPrivate {
|
||||
get { return is_private == 1 ? true : false; }
|
||||
get { return is_private == 1; }
|
||||
}
|
||||
|
||||
[XmlAttribute ("timestamp")]
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace Mono.Upcoming
|
|||
|
||||
[XmlIgnore ()]
|
||||
public bool IsPrivate {
|
||||
get { return is_private == 1 ? true : false; }
|
||||
get { return is_private == 1; }
|
||||
}
|
||||
|
||||
[XmlAttribute ("metro_id")]
|
||||
|
@ -92,7 +92,7 @@ namespace Mono.Upcoming
|
|||
|
||||
[XmlIgnore ()]
|
||||
public bool IsGeocodingAmbiguous {
|
||||
get { return is_geocoding_ambiguous == "1" ? true : false; }
|
||||
get { return is_geocoding_ambiguous == "1"; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче