Пример #1
0
 public KeywordResourceInfo(object dataItem)
 {
     if (dataItem != null)
     {
         foreach (var name in AllAttributes)
         {
             var value = TranslateUtils.Eval(dataItem, name);
             if (value != null)
             {
                 SetValueInternal(name, value);
             }
         }
     }
 }