示例#1
0
 /// <summary>
 /// Joins multiple components together to a composite.
 /// </summary>
 /// <returns>EventsComposite</returns>
 public EventsComposite JoinComponentsToNewComposite(Season season, params EventComponent[] components)
 {
     throw new NotImplementedException();
 }
示例#2
0
 /// <summary>
 /// updates a given event in the database
 /// </summary>
 public void UpdateEvent(Season season, EventComponent anEvent)
 {
     throw new NotImplementedException();
 }
示例#3
0
 /// <summary>
 /// Gets the list of all events from and to a specified date.
 /// </summary>
 /// <param name="name"></param>
 /// <returns>Event</returns>
 public EventComponent[] GetEvents(Season season, DateTime from, DateTime to)
 {
     throw new NotImplementedException();
 }
示例#4
0
 /// <summary>
 /// Gets a link for the user to visit for adding the component to his calendar.
 /// </summary>
 /// <returns>true if you are the owner of the event.</returns>
 public string GetSharedEventLink(Season season, EventComponent component)
 {
     throw new NotImplementedException();
 }
示例#5
0
 /// <summary>
 /// Adds a new event to the database
 /// </summary>
 /// <param name="description"></param>
 /// <param name="dateFrom"></param>
 /// <param name="dateTo"></param>
 /// <param name="notifications"></param>
 /// <returns>the event</returns>
 public EventLeaf AddEvent(Season season,string description, DateTime dateFrom, DateTime dateTo, Notification[] notifications)
 {
     throw new NotImplementedException();
 }
示例#6
0
 /// <summary>
 /// Gets an event with a specified ID
 /// </summary>
 /// <param name="name"></param>
 /// <returns>Event</returns>
 public EventComponent GetEventById(Season season, string name)
 {
     throw new NotImplementedException();
 }
示例#7
0
 public void SetUp(int i)
 {
     season = new Season();
 }
示例#8
0
 /// <summary>
 /// Add components to a given composite.
 /// </summary>
 public void AddComponentsToComposite(Season season, EventsComposite composite, EventComponent[] components)
 {
     throw new NotImplementedException();
 }
示例#9
0
 public void SetUp()
 {
     season = new Season();
     season.CurrentAccount = new Account("account", "u", "e", false);
     eventLogic = new EventLogic(season);
 }
示例#10
0
        public void SetUp(int i)
        {
            seasonStub = new Season();
            accountLogic = new AccountLogic(seasonStub);

            Maccount = new Account("Maccount", "u", "*****@*****.**", true);
            seasonStub.CurrentAccount = Maccount;
            accountLogic.TryCreateAccount("Maccount", "Mpassword", "*****@*****.**");
            accountLogic = new AccountLogic(seasonStub);
        }
示例#11
0
 public EventManagement.EventComponent[] List(Season season)
 {
     //adaptee.list(syncToken);
     throw new NotImplementedException();
 }
示例#12
0
 /// <summary>
 /// Attempts a login and will return a seasonID if succeed.
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 /// <returns>return true if success</returns>
 public bool TryLogin(Season season, string username, string password)
 {
     throw new NotImplementedException();
 }
示例#13
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 /// <param name="email"></param>
 /// <returns>Succeded boolean</returns>
 public bool TryCreateAccount(Season season, string username, string password, string email)
 {
     throw new NotImplementedException();
 }
示例#14
0
 /// <summary>
 /// Returns a list of accounts. Requires account type level of moderator.
 /// </summary>
 /// <param name="username"></param>
 /// <returns>Account</returns>
 public Account[] ListAccounts(Season season, int from, int maxAmount)
 {
     throw new NotImplementedException();
 }
示例#15
0
 /// <summary>
 /// Removes a specified account.
 /// </summary>
 /// <param name="account"></param>
 public static void RemoveAccount(Season season, Account account)
 {
     throw new NotImplementedException();
 }