GetReleation() public static method

periodtarget과의 시간 축으로 선 후행 관계를 판단합니다.
public static GetReleation ( this period, ITimePeriod target ) : PeriodRelation
period this
target ITimePeriod
return PeriodRelation
 /// <summary>
 /// 다른 TimePeriod와의 관계를 판단합니다.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public virtual PeriodRelation GetRelation(ITimePeriod other)
 {
     return(TimeTool.GetReleation(this, other));
 }
Example #2
0
 /// <summary>
 /// 다른 TimePeriod와의 관계를 나타냅니다.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public virtual PeriodRelation GetRelation(ITimePeriod other)
 {
     other.ShouldNotBeNull("other");
     return(TimeTool.GetReleation(this, other));
 }