public static AnimationUpdateResult Update(this IAnimationManager manager, AnimationSeconds timeNow)
        {
            AnimationUpdateResult result;

            manager.TryUpdate(timeNow, out result).ThrowIfError();
            return(result);
        }
 public static void ScheduleTransition(this IAnimationManager manager, IAnimationVariable variable, IAnimationTransition transition, AnimationSeconds timeNow)
 {
     manager.TryScheduleTransition(variable, transition, timeNow).ThrowIfError();
 }
        public static AnimationSchedulingResult Schedule(this IAnimationStoryboard storyboard, AnimationSeconds timeNow)
        {
            AnimationSchedulingResult result;

            storyboard.TrySchedule(timeNow, out result).ThrowIfError();
            return(result);
        }
 public static void FinishAllStoryboards(this IAnimationManager manager, AnimationSeconds completionDeadline)
 {
     manager.TryFinishAllStoryboards(completionDeadline).ThrowIfError();
 }
 public static void Finish(this IAnimationStoryboard storyboard, AnimationSeconds completionDeadline)
 {
     storyboard.TryFinish(completionDeadline).ThrowIfError();
 }