UserLock API
Public Member Functions | Properties | List of all members
ConsumedTime Class Reference

Consumed time for a specific type of session. More...

Public Member Functions

TimeSpan GetConsumedTime (TimeQuota.Period period)
 Get the consumed time for a specified quota period. See the enum TimeQuota.Period. More...
 

Properties

SessionType SessionType [get]
 Type of session for which the time was consumed. More...
 
TimeSpan Day [get]
 Get the consumed time since the beginning of the day. More...
 
TimeSpan Week [get]
 Get the consumed time since the beginning of the week. More...
 
TimeSpan Month [get]
 Get the consumed time since the beginning of the month. More...
 
TimeSpan Quarter [get]
 Get the consumed time since the beginning of the quarter. More...
 
TimeSpan Semester [get]
 Get the consumed time since the beginning of the semester. More...
 
TimeSpan Year [get]
 Get the consumed time since the beginning of the year. More...
 

Detailed Description

Consumed time for a specific type of session.

Member Function Documentation

TimeSpan GetConsumedTime ( TimeQuota.Period  period)

Get the consumed time for a specified quota period. See the enum TimeQuota.Period.

Property Documentation

Type of session for which the time was consumed.

TimeSpan Day
get

Get the consumed time since the beginning of the day.

TimeSpan Week
get

Get the consumed time since the beginning of the week.

TimeSpan Month
get

Get the consumed time since the beginning of the month.

TimeSpan Quarter
get

Get the consumed time since the beginning of the quarter.

TimeSpan Semester
get

Get the consumed time since the beginning of the semester.

TimeSpan Year
get

Get the consumed time since the beginning of the year.