private async Task <IResultSegment <FunctionIndexEntry> > Read1Async(string hostName) { var snapshots = await GetSnapshotsAsync(hostName); var results = Array.ConvertAll(snapshots, x => FunctionIndexEntry.Create( FunctionIndexEntry.CreateOtherMetadata(x), x.HostVersion)); return(new ResultSegment <FunctionIndexEntry>(results, null)); }
private IDictionary <string, string> CreateOtherMetadata(FunctionSnapshot snapshot) { return(FunctionIndexEntry.CreateOtherMetadata(snapshot)); }