Example #1
0
        /// <inheritdoc />
        public virtual LocalizedHtmlString Html(string key)
        {
            if (key == null)
            {
                throw new ArgumentNullException(nameof(key));
            }

            return(_localizer.Html(key));
        }
Example #2
0
 /// <inheritdoc />
 public LocalizedHtmlString Html(string key) => _localizer.Html(key);
Example #3
0
 /// <inheritdoc />
 public virtual LocalizedHtmlString Html([NotNull] string key) => _localizer.Html(key);