C# 클래스 CSharpAnalytics.Sessions.Session

Represents a session of user activity.
파일 보기 프로젝트 열기: TechSmith/CSharpAnalytics 1 사용 예제들

공개 메소드들

메소드 설명
IncreaseHitCount ( ) : void

Increase the hit count for this session in a thread-safe way.

Session ( ) : System

Creates the first ever session for a Visitor.

Session ( DateTimeOffset startedAt, int number ) : System

Create a new session given a specific start time and session number. Used to create the next session.

Session ( DateTimeOffset startedAt, int number, int hitCount, long hitId ) : System

Create a new session given all the parameters possible. Used to restore sessions from state before the timeout occurs.

메소드 상세

IncreaseHitCount() 공개 메소드

Increase the hit count for this session in a thread-safe way.
public IncreaseHitCount ( ) : void
리턴 void

Session() 공개 메소드

Creates the first ever session for a Visitor.
public Session ( ) : System
리턴 System

Session() 공개 메소드

Create a new session given a specific start time and session number. Used to create the next session.
public Session ( DateTimeOffset startedAt, int number ) : System
startedAt DateTimeOffset When this session started at.
number int Session number.
리턴 System

Session() 공개 메소드

Create a new session given all the parameters possible. Used to restore sessions from state before the timeout occurs.
public Session ( DateTimeOffset startedAt, int number, int hitCount, long hitId ) : System
startedAt DateTimeOffset When this session started at.
number int Session number.
hitCount int Number of hits in this session so far.
hitId long Random Id used to ensure any web cache is bypassed.
리턴 System