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 }; }
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 }); }
private MetadataRefreshOptions GetRefreshOptions(BaseRefreshRequest request) { return new MetadataRefreshOptions { MetadataRefreshMode = MetadataRefreshMode.FullRefresh, ImageRefreshMode = ImageRefreshMode.FullRefresh, ReplaceAllMetadata = request.Forced }; }