public PreferNewer(ISyncSelector <T> selector, TimeSpan marginOfError) { Ensure.Argument.IsNotNull(marginOfError, nameof(marginOfError)); Ensure.Argument.IsNotNull(selector, nameof(selector)); this.MarginOfError = marginOfError; this.selector = selector; }
public PreferNewer(ISyncSelector <T> selector) : this(selector, TimeSpan.Zero) { }