protected internal TimeSpanAssertions(DateTimeOffsetAssertions parentAssertions, DateTimeOffset? subject, TimeSpanCondition condition,
            TimeSpan timeSpan)
        {
            this.parentAssertions = parentAssertions;
            this.subject = subject;
            this.timeSpan = timeSpan;

            predicate = predicates[condition];
        }
Esempio n. 2
0
        protected internal TimeSpanAssertions(DateTimeOffsetAssertions parentAssertions, DateTimeOffset?subject, TimeSpanCondition condition,
                                              TimeSpan timeSpan)
        {
            this.parentAssertions = parentAssertions;
            this.subject          = subject;
            this.timeSpan         = timeSpan;

            predicate = predicates[condition];
        }