Example #1
0
 /// <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));
     }
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="state"></param>
 public TVDataAccessorStateArgs(AccessorState state)
 {
     _state = state;
 }