コード例 #1
0
 //new public string Category
 //{
 //    get
 //    {
 //        return LocalizeHelper.Get<string>(_ResourceKey);
 //    }
 //}
 protected override string GetLocalizedString(string value)
 {
     this.SetNonPublicField("localized", false);
     return(LocalizeHelper.Get <string>(value));
     //var myField = typeof(LocalizedCategoryAttribute).BaseType.GetField("localized", BindingFlags.Instance | BindingFlags.NonPublic);
     // myField.SetValue false);
 }