Example #1
0
 public void Save(string assemblyPath, DateTime plibTimeUtc, bool containsFrameworkResources, List <ResWInfo> reswInfoList)
 {
     try
     {
         PortableLibraryStatesLookup[assemblyPath] = new PortableLibraryResourceStateInfo()
         {
             PLibTimeUtc = plibTimeUtc, ContainsFrameworkResources = containsFrameworkResources, ResWInfoList = reswInfoList
         };
     }
     catch (Exception e)
     {
         _logger.LogMessage(MessageImportance.Low, Resources.Error_UnspecifiedSaveState, assemblyPath, e.Message);
     }
 }
 public void Save(string assemblyPath, string reswPath, DateTime plibTimeUtc, DateTime reswTimeUtc)
 {
     try
     {
         PortableLibraryStatesLookup[assemblyPath] = new PortableLibraryResourceStateInfo()
         {
             PLibTimeUtc = plibTimeUtc, ResWTimeUtc = reswTimeUtc, ResWPath = reswPath
         };
     }
     catch (Exception e)
     {
         _logger.LogMessage(MessageImportance.Low, Resources.Error_UnspecifiedSaveState, assemblyPath, e.Message);
     }
 }