/// <summary> /// Creates new localization provider with all the required settings and services injected. /// </summary> /// <param name="keyBuilder">Key builder (with help of <paramref name="expressionHelper"/> this dependency will help to translate from lambda expression to resource key as string).</param> /// <param name="expressionHelper">Can walk lambda expressions and return string representation of the expression.</param> /// <param name="fallbackCollection">Collection of fallback language settings.</param> /// <param name="queryExecutor">Small utility robot to help with queries.</param> public LocalizationProvider( ResourceKeyBuilder keyBuilder, ExpressionHelper expressionHelper, FallbackLanguagesCollection fallbackCollection, IQueryExecutor queryExecutor) { _keyBuilder = keyBuilder; _expressionHelper = expressionHelper; _fallbackCollection = fallbackCollection; _queryExecutor = queryExecutor; }
internal FallbackLanguages(FallbackLanguagesCollection parentCollection) { FallbackLanguagesCollection = parentCollection; }