コード例 #1
0
        public override IEnumerator <InstructionBase> Simulate()
        {
            var notification = new AlarmRingingNotification();

            yield return(RaiseNotificationInstruction.New(notification));
        }
コード例 #2
0
ファイル: AlarmActivity.cs プロジェクト: PhillP/NSimulate
 public override System.Collections.Generic.IEnumerator<NSimulate.Instruction.InstructionBase> Simulate()
 {
     var notification = new AlarmRingingNotification();
     yield return new RaiseNotificationInstruction<AlarmRingingNotification>(notification);
 }
コード例 #3
0
ファイル: AlarmActivity.cs プロジェクト: Krockema/NSimulate
        public override System.Collections.Generic.IEnumerator <NSimulate.Instruction.InstructionBase> Simulate()
        {
            var notification = new AlarmRingingNotification();

            yield return(new RaiseNotificationInstruction <AlarmRingingNotification>(notification));
        }