IntersectsWith() public static méthode

public static IntersectsWith ( ITimePeriod period, ITimePeriod test ) : bool
period ITimePeriod
test ITimePeriod
Résultat bool
        } // ShrinkTo

        // ----------------------------------------------------------------------
        public virtual bool IntersectsWith(ITimePeriod test)
        {
            if (test == null)
            {
                throw new ArgumentNullException("test");
            }
            return(TimePeriodCalc.IntersectsWith(this, test));
        } // IntersectsWith
Exemple #2
0
        } // HasInside

        // ----------------------------------------------------------------------
        public virtual bool IntersectsWith(ITimePeriod test)
        {
            CommonMethods.checkNull(test, "test @ IntersectsWith");
            return(TimePeriodCalc.IntersectsWith(this, test));
        } // IntersectsWith