diff --git a/src/Microsoft.AspNet.Localization/CustomRequestCultureStrategy.cs b/src/Microsoft.AspNet.Localization/CustomRequestCultureStrategy.cs index 629862c1e563..7ddee3f62754 100644 --- a/src/Microsoft.AspNet.Localization/CustomRequestCultureStrategy.cs +++ b/src/Microsoft.AspNet.Localization/CustomRequestCultureStrategy.cs @@ -7,15 +7,23 @@ namespace Microsoft.AspNet.Localization { + /// + /// Determines the culture information for a request via the configured delegate. + /// public class CustomRequestCultureStrategy : IRequestCultureStrategy { private readonly Func _strategy; + /// + /// Creates a new using the specified delegate. + /// + /// The strategy delegate. public CustomRequestCultureStrategy([NotNull] Func strategy) { _strategy = strategy; } + /// public RequestCulture DetermineRequestCulture([NotNull] HttpContext httpContext) { return _strategy(httpContext); diff --git a/src/Microsoft.AspNet.Localization/IRequestCultureStrategy.cs b/src/Microsoft.AspNet.Localization/IRequestCultureStrategy.cs index 93f943488ba6..eb96670263f1 100644 --- a/src/Microsoft.AspNet.Localization/IRequestCultureStrategy.cs +++ b/src/Microsoft.AspNet.Localization/IRequestCultureStrategy.cs @@ -5,6 +5,9 @@ namespace Microsoft.AspNet.Localization { + /// + /// Represents a strategy for determining the culture information of an . + /// public interface IRequestCultureStrategy { RequestCulture DetermineRequestCulture(HttpContext httpContext);