private void OnUserAgentChanged([CanBeNull] string newValue) { if (newValue == null) return; _something.SetUserAgent(newValue); }