// Useful static functions. public static User CreateUser() { User user = new User(); user.LastRequest = DateTime.Now; user.Challenge = RSACrypto.CreateChallengeString(AjaxLife.RSAp); user.Rotation = -Math.PI; return user; }
// Constructor. Lets us have access to various useful user things. public Events(User user) { this.Client = user.Client; this.user = user; }