public JSONAPI(string apiKey, System.Version Version) { this.apiKey = apiKey; this.Version = Version; this.Game = new GameHandle(this); this.Me = new MeHandle(this); this.Bot = new BotHandle(this); this.Chat = new ChatHandle(this); }
public JSONAPI(string apiKey, System.Version Version) { this.apiKey = apiKey; this.Version = Version; this.Game = new GameHandle(this); this.Me = new MeHandle(this); this.Bot = new BotHandle(this); this.Chat = new ChatHandle(this); }
public static bool VerificarSiExiste(ChatHandle val) { var subscriptos = _onChatHandler.GetInvocationList(); foreach (var item in subscriptos) { var s = item.Method.DeclaringType.FullName + "." + item.Method.Name; var ss = val.Method.DeclaringType.FullName + "." + val.Method.Name; if (s.Equals(ss, StringComparison.Ordinal)) { return(true); } } return(false); }