/// <summary> /// Sets the credentials from the command line. /// </summary> /// <param name="parameters"></param> /// <returns></returns> /// <exception cref="System.NotImplementedException"></exception> public Credentials ParseCredentials(Parameters parameters) { var credentials = new Credentials { Server = parameters.AsString("s"), Port = parameters.AsInteger("p"), Password = parameters.AsString("pwd"), Nick = parameters.AsString("n"), Name = parameters.AsString("r") }; return credentials; }