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. /// |
return | 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;
}