BB.Caching.Redis.Analytics.BitwiseAnalytics.ExistsAsync C# (CSharp) Méthode

ExistsAsync() public static méthode

Determines if the key exists.
public static ExistsAsync ( IDatabase database, RedisKey key ) : Task
database IDatabase /// The database where the query will be performed. This is passed so that we can reuse the same database to /// perform multiple bitwise operations. Doing this with the same connection will guarantee that performance /// is good. ///
key RedisKey /// The key. ///
Résultat Task
        public static Task<bool> ExistsAsync(IDatabase database, RedisKey key)
        {
            return database.KeyExistsAsync(key);
        }

Same methods

BitwiseAnalytics::ExistsAsync ( RedisKey key ) : Task