private void SetConnectionStateAndText(XmppState state)
 {
     IsConnected = state == XmppState.Connected;
     this.ConnectionStateText = state.ToDisplayText(null);
 }
Esempio n. 2
0
 /// <inheritdoc/>
 protected override void SetConnectionStateAndText(XmppState state)
 {
     this.ConnectionStateText = state.ToDisplayText(this.tagProfile.Domain);
     this.IsConnected         = state == XmppState.Connected;
 }
 /// <summary>
 /// Sets both the connection state and connection text to the appropriate value.
 /// </summary>
 /// <param name="state">The current state.</param>
 protected virtual void SetConnectionStateAndText(XmppState state)
 {
     this.ConnectionStateText = state.ToDisplayText(null);
     this.IsConnected         = state == XmppState.Connected;
 }