GetRelation() public static méthode

public static GetRelation ( ITimePeriod period, ITimePeriod test ) : PeriodRelation
period ITimePeriod
test ITimePeriod
Résultat PeriodRelation
        } // OverlapsWith

        // ----------------------------------------------------------------------
        public virtual List <PeriodRelation> GetRelation(ITimePeriod test)
        {
            if (test == null)
            {
                throw new ArgumentNullException("test");
            }
            return(TimePeriodCalc.GetRelation(this, test));
        } // GetRelation
Exemple #2
0
        } // OverlapsWith

        // ----------------------------------------------------------------------
        public virtual List <PeriodRelation> GetRelation(ITimePeriod test)
        {
            CommonMethods.checkNull(test, "test @ GetRelation");
            return(TimePeriodCalc.GetRelation(this, test));
        } // GetRelation