Skip to content

Commit

Permalink
Changed ticket price to decimal. Cleaned up unused files.
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinboy committed Feb 11, 2011
1 parent a7e9c8f commit c7be98a
Show file tree
Hide file tree
Showing 25 changed files with 2 additions and 121 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified Entities/Attendee.cs
100644 → 100755
Empty file.
Empty file modified Entities/EntityBase.cs
100644 → 100755
Empty file.
Empty file modified Entities/Event.cs
100644 → 100755
Empty file.
11 changes: 0 additions & 11 deletions Entities/IEntity.cs

This file was deleted.

37 changes: 0 additions & 37 deletions Entities/Organiser.cs

This file was deleted.

Empty file modified Entities/Organizer.cs
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Entities/Ticket.cs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Ticket : EntityBase
public string Description;
public TicketType Type;
public string Currency;
public float Price;
public decimal Price;
public DateTime? StartDateTime;
public DateTime EndDateTime;
public int? QuantityAvailable;
Expand Down
Empty file modified EventbriteContext.cs
100644 → 100755
Empty file.
Empty file modified EventbriteNET.csproj
100644 → 100755
Empty file.
Empty file modified HttpApi/EventAttendeesRequest.cs
100644 → 100755
Empty file.
Empty file modified HttpApi/EventRequest.cs
100644 → 100755
Empty file.
25 changes: 0 additions & 25 deletions HttpApi/OrganiserEventsRequest.cs

This file was deleted.

Empty file modified HttpApi/OrganizerEventsRequest.cs
100644 → 100755
Empty file.
Empty file modified HttpApi/RequestBase.cs
100644 → 100755
Empty file.
Empty file modified Properties/AssemblyInfo.cs
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified Xml/AttendeeBuilder.cs
100644 → 100755
Empty file.
Empty file modified Xml/BuilderBase.cs
100644 → 100755
Empty file.
Empty file modified Xml/EventAttendeesBuilder.cs
100644 → 100755
Empty file.
Empty file modified Xml/EventBuilder.cs
100644 → 100755
Empty file.
13 changes: 0 additions & 13 deletions Xml/IBuilder.cs

This file was deleted.

33 changes: 0 additions & 33 deletions Xml/OrganisationEventsBuilder.cs

This file was deleted.

Empty file modified Xml/OrganizerEventsBuilder.cs
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Xml/TicketBuilder.cs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Ticket Build(string xmlString)
}
if (toReturn.Type == TicketType.FixedPrice)
{
toReturn.Price = float.Parse(doc.GetElementsByTagName("price")[0].InnerText);
toReturn.Price = Decimal.Parse(doc.GetElementsByTagName("price")[0].InnerText);
}


Expand Down

0 comments on commit c7be98a

Please sign in to comment.