C# 클래스 BB.Caching.Redis.Analytics.Event

An instance of an event. This is used when querying for event data.
파일 보기 프로젝트 열기: JesseBuesking/BB.Caching 1 사용 예제들

공개 메소드들

메소드 설명
Event ( string category, string action, System.DateTime from, System.DateTime to, TimeInterval timeInterval = TimeInterval.FifteenMinutes ) : System

Initializes a new instance of the Event struct.

RedisKeys ( ) : RedisKey[]

All of the keys that would be involved in the period of time specified for this event.

RedisKeysAsync ( ) : Task

All of the keys that would be involved in the period of time specified for this event.

ToBase64 ( ) : string

Logic to convert this Event instance into a Base64 string.

메소드 상세

Event() 공개 메소드

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. ///
리턴 System

RedisKeys() 공개 메소드

All of the keys that would be involved in the period of time specified for this event.
public RedisKeys ( ) : RedisKey[]
리턴 RedisKey[]

RedisKeysAsync() 공개 메소드

All of the keys that would be involved in the period of time specified for this event.
public RedisKeysAsync ( ) : Task
리턴 Task

ToBase64() 공개 메소드

Logic to convert this Event instance into a Base64 string.
public ToBase64 ( ) : string
리턴 string