예제 #1
0
        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;
        }
예제 #2
0
 public PreferNewer(ISyncSelector <T> selector)
     : this(selector, TimeSpan.Zero)
 {
 }