コード例 #1
0
        /// <inheritdoc cref="IBrowserContext.SetGeolocationAsync(GeolocationOption)"/>
        public Task SetGeolocationAsync(GeolocationOption geolocation = null)
        {
            if (geolocation != null)
            {
                VerifyGeolocation(geolocation);
            }

            Options.Geolocation = geolocation;
            return(_delegate.SetGeolocationAsync(geolocation));
        }
コード例 #2
0
 /// <inheritdoc cref="IBrowserContext.SetGeolocationAsync(GeolocationOption)"/>
 public Task SetGeolocationAsync(GeolocationOption geolocation)
 => _delegate.SetGeolocationAsync(geolocation);