示例#1
0
 private MetadataRefreshOptions GetRefreshOptions(BaseRefreshRequest request)
 {
     return(new MetadataRefreshOptions
     {
         MetadataRefreshMode = MetadataRefreshMode.FullRefresh,
         ImageRefreshMode = ImageRefreshMode.FullRefresh,
         ReplaceAllMetadata = request.Forced
     });
 }
 private MetadataRefreshOptions GetRefreshOptions(BaseRefreshRequest request)
 {
     return(new MetadataRefreshOptions
     {
         MetadataRefreshMode = request.MetadataRefreshMode,
         ImageRefreshMode = request.ImageRefreshMode,
         ReplaceAllImages = request.ReplaceAllImages,
         ReplaceAllMetadata = request.ReplaceAllMetadata,
         ForceSave = true
     });
 }
 private MetadataRefreshOptions GetRefreshOptions(BaseRefreshRequest request)
 {
     return new MetadataRefreshOptions(new DirectoryService())
     {
         MetadataRefreshMode = request.MetadataRefreshMode,
         ImageRefreshMode = request.ImageRefreshMode,
         ReplaceAllImages = request.ReplaceAllImages,
         ReplaceAllMetadata = request.ReplaceAllMetadata,
         ForceSave = true
     };
 }
示例#4
0
 private MetadataRefreshOptions GetRefreshOptions(BaseRefreshRequest request)
 {
     return(new MetadataRefreshOptions(new DirectoryService(_fileSystem))
     {
         MetadataRefreshMode = request.MetadataRefreshMode,
         ImageRefreshMode = request.ImageRefreshMode,
         ReplaceAllImages = request.ReplaceAllImages,
         ReplaceAllMetadata = request.ReplaceAllMetadata,
         ForceSave = true
     });
 }
示例#5
0
 private MetadataRefreshOptions GetRefreshOptions(BaseRefreshRequest request)
 {
     return new MetadataRefreshOptions
     {
         MetadataRefreshMode = MetadataRefreshMode.FullRefresh,
         ImageRefreshMode = ImageRefreshMode.FullRefresh,
         ReplaceAllMetadata = request.Forced
     };
 }