BB.Caching.Redis.Analytics.BitwiseAnalytics.DeleteAsync C# (CSharp) Method

DeleteAsync() public static method

The delete.
public static DeleteAsync ( string category, string action, string dateTime ) : Task
category string /// Typically the object that was interacted with (e.g. button) ///
action string /// The type of interaction (e.g. click) ///
dateTime string /// The DateTime. ///
return Task
        public static Task<bool> DeleteAsync(string category, string action, string dateTime)
        {
            RedisKey key = EventKey(category, action, dateTime);
            return SharedCache.Instance.GetAnalyticsWriteConnection()
                .GetDatabase(SharedCache.Instance.Db)
                .KeyDeleteAsync(key);
        }