Beispiel #1
0
        public Event(int eventId, EventCategory eventCategory, Contact eventCreator, Location location, DateTime startDate, string duration, string eventTitle, string eventDescription, string eventUrl, NInt32 minSubscriptions, NInt32 maxSubscriptions)
        {
            this.EventId          = eventId;
            this.EventCategory    = eventCategory;
            this.EventCreator     = eventCreator;
            this.Location         = location;
            this.StartDate        = startDate;
            this.Duration         = duration;
            this.EventTitle       = eventTitle;
            this.EventDescription = eventDescription;
            this.EventUrl         = eventUrl;
            this.MinSubscriptions = minSubscriptions;
            this.MaxSubscriptions = maxSubscriptions;

            SmsNotifSubscriptions = null;
        }
Beispiel #2
0
        public int CompareTo(object obj)
        {
            EventCategory cat = (EventCategory)obj;

            return(this.Category.CompareTo(cat.Category));
        }