Exemple #1
0
 public IIntentNode[] DivideAt(TimeSpan effectRelativeTime)
 {
     if (effectRelativeTime > StartTime && effectRelativeTime < EndTime)
     {
         TimeSpan  intentRelativeTime = Helper.GetIntentRelativeTime(effectRelativeTime, this);
         IIntent[] intents            = Intent.DivideAt(intentRelativeTime);
         return(new[] {
             new IntentNode(intents[0], StartTime),
             new IntentNode(intents[1], effectRelativeTime)
         });
     }
     return(null);
 }