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

Event() public méthode

Initializes a new instance of the Event struct.
public Event ( string category, string action, System.DateTime from, System.DateTime to, TimeInterval timeInterval = TimeInterval.FifteenMinutes ) : System
category string /// Typically the object that was interacted with (e.g. button) ///
action string /// The type of interaction (e.g. click) ///
from System.DateTime /// The inclusive start of the period that we're interested in. ///
to System.DateTime /// The exclusive end of the period that we're interested in. ///
timeInterval TimeInterval /// The accuracy at which we want the data. For example, setting this to TimeInterval.OneDay means there won't /// be any keys at the fifteen minute or one hour levels, so if the DateTime is for the /// middle of a day, it'll include the entire day. ///
Résultat System
        public Event(
            string category,
            string action,
            DateTime from,
            DateTime to,
            TimeInterval timeInterval = TimeInterval.FifteenMinutes)
        {
            this._category = category;
            this._action = action;
            this._from = from;
            this._to = to;
            this._redisKeys = null;
            this._timeInterval = timeInterval;
        }