AcManager.Tools.ContentInstallation.ZipContentInstallator.GetFileEntriesAsync C# (CSharp) Method

GetFileEntriesAsync() protected method

protected GetFileEntriesAsync ( ) : Task>
return Task>
        protected override Task<IEnumerable<IFileInfo>> GetFileEntriesAsync() {
            if (_extractor == null) throw new Exception(ToolsStrings.ArchiveInstallator_InitializationFault);
            return Task.FromResult(_extractor.Entries.Where(x => !x.FullName.EndsWith("\\") && !x.FullName.EndsWith("/"))
                                             .Select(x => (IFileInfo)new ArchiveFileInfo(x)));
        }