Constructor UserClock
- Namespace
- MailFathom.Application.Access
- Assembly
- MailFathom.Application.dll
UserClock(AccessAuthorization, IUserTimeZones, TimeProvider)
Initializes the clock over the acting person, their zone, and this deployment's time source.
public UserClock(AccessAuthorization authorization, IUserTimeZones zones, TimeProvider time)
Parameters
authorizationAccessAuthorizationNames the person the work in hand is being done for.
zonesIUserTimeZonesAnswers which zone that person's own days are read in.
timeTimeProviderThe current instant, which is never the ambient clock.
Exceptions
- ArgumentNullException
Thrown when an argument is null.