コード例 #1
0
ファイル: DmlTimeline.cs プロジェクト: frankgu98/Phosphaze
 /// <summary>
 /// Add a timestamp
 /// </summary>
 /// <param name="timestamp"></param>
 public void AddTimestamp(DmlTimestamp timestamp)
 {
     if (Begun)
     {
         throw new TimelineException("Cannot add new timestamp to already begun timeline.");
     }
     Timestamps.Add(timestamp);
 }
コード例 #2
0
ファイル: DmlTimeline.cs プロジェクト: roflwaffl/Phosphaze
 /// <summary>
 /// Add a timestamp
 /// </summary>
 /// <param name="timestamp"></param>
 public void AddTimestamp(DmlTimestamp timestamp)
 {
     if (Begun)
         throw new TimelineException("Cannot add new timestamp to already begun timeline.");
     Timestamps.Add(timestamp);
 }