ReadBool() static private méthode

static private ReadBool ( string data, bool ifnull = false ) : bool
data string
ifnull bool
Résultat bool
Exemple #1
0
 private static bool GetServerAnnounce(IGuild s, string b) => SQL.ReadBool(SQL.ReadServer(s.Id, b), true);
Exemple #2
0
 static bool GetIgnored(string row, string table, ulong id) => SQL.ReadBool(SQL.ReadSingle(row, table, id, "ignored"));
Exemple #3
0
 internal static bool GetNsfw(IChannel chan) => (chan as ITextChannel).IsNsfw || SQL.ReadBool(SQL.ReadChannel(chan.Id, "nsfw"));
Exemple #4
0
 internal static bool GetNsfw(Channel chan) => SQL.ReadBool(SQL.ReadChannel(chan.Id, "nsfw"));