public IStringLocalizer Create(string baseName, string location)
        {
            MyLocalizer localizer = null;

            if (!MyLocalizers.TryGetValue(CultureInfo.CurrentCulture.Name, out localizer))
            {
                localizer = new MyLocalizer();
                MyLocalizers.Add(CultureInfo.CurrentCulture.Name, localizer);
            }

            return(localizer);
        }
        public IStringLocalizer Create(Type resourceSource)
        {
            MyLocalizer localizer = null;

            if (!MyLocalizers.TryGetValue(CultureInfo.CurrentCulture.Name, out localizer))
            {
                localizer = new MyLocalizer();
                MyLocalizers.Add(CultureInfo.CurrentCulture.Name, localizer);
            }

            return(localizer);
        }