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

GetFifteenMinutesAsync() public static méthode

Gets the key for the 15 minute interval covered by the DateTime supplied.
public static GetFifteenMinutesAsync ( string category, string action, System.DateTime dateTime ) : Task
category string /// Typically the object that was interacted with (e.g. button) ///
action string /// The type of interaction (e.g. click) ///
dateTime System.DateTime /// The DateTime. ///
Résultat Task
        public static async Task<RedisKey> GetFifteenMinutesAsync(string category, string action, DateTime dateTime)
#pragma warning restore 1998
        {
            // get the key
            string fifteenMinutes = BitwiseAnalytics.DateTimeUtil.FifteenMinutes(dateTime);
            RedisKey key = EventKey(category, action, fifteenMinutes);
            return key;
        }