/// <summary> /// Does actual explicit disposal of available managed resources /// </summary> protected override void OnDisposing() { this._currentServer = null; base.OnDisposing(); }
/// <summary> /// Creates an instance of <see cref="ServerEventsProvider"/> /// </summary> /// <param name="currentServer">An instance of <see cref="ModbusServerBase"/> to use</param> internal ServerEventsProvider(ModbusServerBase currentServer) { Guard.AgainstNullReference(currentServer, "currentServer"); this._currentServer = currentServer; }