/// <summary> /// Конструктор с установкой общих параметров конфигурации и log-файла /// </summary> public ServerCommEx(Settings.CommonParams commonParams, Log log) : base() { this.commSettings = new CommSettings(commonParams.ServerHost, commonParams.ServerPort, commonParams.ServerUser, commonParams.ServerPwd, commonParams.ServerTimeout); this.log = log; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public FrmCommonParams(Settings.CommonParams commonParams) : this() { this.commonParams = commonParams ?? throw new ArgumentNullException("commonParams"); changing = false; }