// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Localization { /// /// Represents a provider for determining the culture information of an . /// public interface IRequestCultureProvider { /// /// Implements the provider to determine the culture of the given request. /// /// The for the request. /// /// The determined . /// Returns null if the provider couldn't determine a . /// Task DetermineProviderCultureResult(HttpContext httpContext); } }