private void BehaviourOnServiceOpened(object sender, ServiceOpenedEventArgs serviceOpenedEventArgs) { Service = serviceOpenedEventArgs.Service; if (Service != null) { State = SessionState.Connected; } }
protected virtual void OnServiceOpened(ServiceOpenedEventArgs e) { var handler = ServiceOpened; if (handler != null) { handler(this, e); } }
protected virtual void OnServiceOpened(ServiceOpenedEventArgs e) { var handler = ServiceOpened; if (handler != null) handler(this, e); }