Table of Contents

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

authorization AccessAuthorization

Names the person the work in hand is being done for.

zones IUserTimeZones

Answers which zone that person's own days are read in.

time TimeProvider

The current instant, which is never the ambient clock.

Exceptions

ArgumentNullException

Thrown when an argument is null.