Beispiel #1
0
        //sample to call and create event
        private void fireDeserialized(string laststate)
        {
            string _LastStateName        = laststate; //Param type
            StateDeserializedEventArgs e = new StateDeserializedEventArgs(_LastStateName);

            OnStateDeserialized(this, e);
        }
Beispiel #2
0
 /// <summary>
 /// Called to signal to subscribers that StateDeserialized from disk
 /// </summary>
 /// <param name="e"></param>
 /// <param name="sender"></param>
 internal virtual void OnStateDeserialized(object sender, StateDeserializedEventArgs e)
 {
     if (StateDeserialized != null)
     {
         StateDeserialized(this, e);
     }
 }