UserLock API
|
Time frame for hour restrictions. More...
Public Types | |
enum | WeekDays : byte { None = 0x00 , Monday = 0x01 , Tuesday = 0x02 , Wednesday = 0x04 , Thursday = 0x08 , Friday = 0x10 , Saturday = 0x20 , Sunday = 0x40 , All = Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday } |
Enum allowing to specify days of the week. Several days can be combined with the or operator (|). See the property DaysOfWeek of the TimeFrame class. More... | |
Properties | |
int | MinutesFrom [get, set] |
Hour of the beginning of the time frame in minutes since midnight (00:00 or 12:00 AM) | |
TimeSpan | From [get] |
Hour of the beginning of the time frame since midnight (00:00 or 12:00 AM) | |
int | MinutesTo [get, set] |
Hour of the end of the time frame in minutes since midnight (00:00 or 12:00 AM) | |
TimeSpan | To [get] |
Hour of the end of the time frame in minutes since midnight (00:00 or 12:00 AM) | |
WeekDays | DaysOfWeek [get, set] |
Get/set days of the week concerned by the time frame. See the enum WeekDays. | |
bool | Monday [get, set] |
Get/set if Monday is concerned. | |
bool | Tuesday [get, set] |
Get/set if Tuesday is concerned. | |
bool | Wednesday [get, set] |
Get/set if Wednesday is concerned. | |
bool | Thursday [get, set] |
Get/set if Thursday is concerned. | |
bool | Friday [get, set] |
Get/set if Friday is concerned. | |
bool | Saturday [get, set] |
Get/set if Saturday is concerned. | |
bool | Sunday [get, set] |
Get/set if Sunday is concerned. | |
![]() | |
SessionType | SessionTypes [get, set] |
Get/set session types concerned by the protected item. | |
string | Name [get] |
Name of the protected item. | |
Time frame for hour restrictions.
enum WeekDays : byte |
Enum allowing to specify days of the week. Several days can be combined with the or operator (|). See the property DaysOfWeek of the TimeFrame class.