public virtual IEnumerator <ITask> ReplaceHandler(Replace replace) { _state = replace.Body; replace.ResponsePort.Post(DefaultReplaceResponseType.Instance); SendNotification(_submgr, replace); yield break; }
/// <summary> /// Service Start /// </summary> protected override void Start() { if (_state == null) { _state = new XInputGamepadState(); } base.Start(); // start the timer Spawn(DateTime.Now, TimerHandler); }