protected void InitListStore(RemoteSystem except = null) { foreach (RemoteSystem system in systemList) { if (except != null && except.GetName () == system.GetName ()) continue; InsertSystem (system); } }
public RemoteSystem(RemoteSystem info) { this.Name = info.GetName (); this.Host = info.GetHost (); this.GatewayName = info.GetGatewayName (); this.IsGateway = info.GetIsGateway (); this.User = info.GetUser (); this.Port = info.GetPort (); this.Protocol = info.GetProtocol (); this.AuthType = info.GetAuthType (); this.AuthKey = info.GetAuthKey (); }
private void InsertSystem(RemoteSystem _system) { var connState = (_system.IsConnected () ? Connected : Disconnected); systemListStore.AppendValues (_system.GetName (), _system.GetHost (), connState); }