/// <summary> /// Changes the current state /// </summary> /// <param name="accessorState"></param> public void SetState(AccessorState accessorState) { _state = accessorState; //trigger event if (StateChanged != null) { StateChanged.Invoke(new TVDataAccessorStateArgs(accessorState)); } }
/// <summary> /// Constructor /// </summary> /// <param name="state"></param> public TVDataAccessorStateArgs(AccessorState state) { _state = state; }