private static void Core_TokenSet(object sender, Core.TokenSetEventArgs e) { //Console.WriteLine("Token set!"); //Print(e.Token); //Core.User.Validate(e.Token); Core.User.Get("", e.Token); //Console.WriteLine("Creating user"); //User temp = new User //{ // Firstname = "Grażyna", // Lastname = "Pączek", // Email = "*****@*****.**", // Position = "Accountant", //}; //temp.CreateResult += Temp_CreateResult; //temp.Create("12345", e.Token); //Message mes = new Message //{ // MessageContent = "Testowa wiadmomość do pani sprzątaczki", // User_to = "*****@*****.**" //}; //mes.MessageSend += Mes_MessageSend; //mes.Send(e.Token); //Message mes = new Message //{ // User_from = "*****@*****.**" //}; //mes.MessageGet += Mes_MessageGet; //mes.Get(0, 100, e.Token); //Status st = new Status(); //st.StatusContent = "Status z api!"; //st.User_id = Core.User.Id; //st.StatusSet += St_StatusSet; //st.Set(e.Token); //Status st = new Status(); //st.StatusContent = "Status z api!"; //st.User_id = Core.User.Id; //st.StatusGet += St_StatusGet; //st.Get(e.Token); }
private void Core_TokenSet(object sender, Core.TokenSetEventArgs e) { throw new System.NotImplementedException(); }