C# Class NSoft.NFramework.TimePeriods.TimeLines.TimeLineMomentCollection

Inheritance: ITimeLineMomentCollection
Exibir arquivo Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
Add ( ITimePeriod period ) : void
AddAll ( IEnumerable periods ) : void
Contains ( System.DateTime moment ) : bool

moment와 같은 값을 가진 TimeLineMoment가 존재하는지 파악합니다.

Find ( System.DateTime moment ) : ITimeLineMoment

moment와 같은 값을 가진 TimeLineMoment를 찾습니다.

GetEnumerator ( ) : IEnumerator
Remove ( ITimePeriod period ) : void
this ( int index ) : ITimeLineMoment

Protected Methods

Method Description
AddPeriod ( System.DateTime moment, ITimePeriod period ) : void

moment를 나타내는 TimeLineMoment를 키로 하고, Value로 period 를 추가합니다.

RemovePeriod ( System.DateTime moment, ITimePeriod period ) : void

moment를 나타내는 TimeLineMoment를 키로 하고, Value로 period 를 삭제합니다.

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Method Details

Add() public method

public Add ( ITimePeriod period ) : void
period ITimePeriod
return void

AddAll() public method

public AddAll ( IEnumerable periods ) : void
periods IEnumerable
return void

AddPeriod() protected method

moment를 나타내는 TimeLineMoment를 키로 하고, Value로 period 를 추가합니다.
protected AddPeriod ( System.DateTime moment, ITimePeriod period ) : void
moment System.DateTime
period ITimePeriod
return void

Contains() public method

moment와 같은 값을 가진 TimeLineMoment가 존재하는지 파악합니다.
public Contains ( System.DateTime moment ) : bool
moment System.DateTime 찾고자하는 moment
return bool

Find() public method

moment와 같은 값을 가진 TimeLineMoment를 찾습니다.
public Find ( System.DateTime moment ) : ITimeLineMoment
moment System.DateTime 찾고자하는 moment
return ITimeLineMoment

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

Remove() public method

public Remove ( ITimePeriod period ) : void
period ITimePeriod
return void

RemovePeriod() protected method

moment를 나타내는 TimeLineMoment를 키로 하고, Value로 period 를 삭제합니다.
protected RemovePeriod ( System.DateTime moment, ITimePeriod period ) : void
moment System.DateTime
period ITimePeriod
return void

this() public method

public this ( int index ) : ITimeLineMoment
index int
return ITimeLineMoment