示例#1
0
 public void Load(string fileName)
 {
     Filename      = fileName;
     m_resxHandler = new ResourceHandler(fileName);
     m_resxHandler.Resources.ForEach((resource) => {
         if (resource.FileRef == null)
         {
             object value = resource.GetValue((ITypeResolutionService)null);
             var str      = value as string;
             StoreController.AppendValues(new ResourceModel(resource.Name, str, resource.Comment));
         }
         else
         {
             throw new NotImplementedException();
         }
     });
 }