protected override void Dispose(bool disposing) { _verifier = _verifier.SafeDispose(); base.Dispose(disposing); }
/// <summary> /// Initializes a new instance of the <see cref="TimeoutVerifier" /> class. /// </summary> /// <param name="keySet">The key set.</param> /// <param name="currentDateTime">The current date time provider.</param> public TimeoutVerifier(IKeySet keySet, Func <DateTime> currentDateTime = null) : base(keySet) { _verifier = new TimeoutVerifierHelper(keySet, this); _currentDateTime = currentDateTime ?? (() => DateTime.Now); }