public Task <ItemUpdateType> FetchAsync(GameSystem item, IDirectoryService directoryService, CancellationToken cancellationToken) { if (string.IsNullOrEmpty(item.GameSystemName)) { item.GameSystemName = ResolverHelper.GetGameSystemFromPath(_fileSystem, item.Path); return(_cachedResultWithUpdate); } return(_cachedResult); }
public Task <ItemUpdateType> FetchAsync(GameSystem item, MetadataRefreshOptions options, CancellationToken cancellationToken) { if (string.IsNullOrEmpty(item.GameSystemName)) { item.GameSystemName = ResolverHelper.GetGameSystemFromPath(_fileSystem, item.Path); return(_cachedResultWithUpdate); } return(_cachedResult); }