Ejemplo n.º 1
0
 public Task <string> GetDataLoaderWithInterface(
     string key,
     FieldNode fieldSelection,
     ITestDataLoader testDataLoader,
     CancellationToken cancellationToken)
 {
     return(testDataLoader.LoadAsync(key, cancellationToken));
 }
Ejemplo n.º 2
0
        public List <string> GetLoads3(ITestDataLoader testDataLoader)
        {
            var list = new List <string>();

            foreach (IReadOnlyList <string> request in ((TestDataLoader)testDataLoader).Loads)
            {
                list.Add(string.Join(", ", request));
            }

            return(list);
        }