public override async Task TheTest() { await base.TheTest(); var link = Events.Links .WithRelationOf(new Iri("http://example.com/vocab#filter")) .WithTemplate() .First() .ExpandTarget(_ => _ .WithProperty(new Iri("http://schema.org/name")).HavingValueOf("name") .WithVariable("eventDescription").HavingValueOf("description")); FilteringResult = await Client.GetResource(link); }
public override async Task TheTest() { await base.TheTest(); var link = Events.Links .WithRelationOf(hydra.search) .WithTemplate() .First() .ExpandTarget(new Dictionary <string, string>() { { "searchText", "whatever" } }); SearchedResults = await Client.GetResource(link); }
public override async Task TheTest() { Result = await Client.GetResource(ResourceUrl); }
public async Task TheTest() { Result = await ApiDocumentation.GetEntryPoint(); }
public override async Task TheTest() { Resource = await Client.GetResource(new Uri(Url, "resource")); }
public override async Task TheTest() { await base.TheTest(); Events = await Client.GetResource(new Uri(Url, "api/events")); }
public override async Task TheTest() { await base.TheTest(); People = await Client.GetResource(new Uri(Url, "api/people")); }
public override async Task TheTest() { await base.TheTest(); EntryPoint = await ApiDocumentation.GetEntryPoint(); }
public virtual async Task TheTest() { Result = await HypermediaProcessor.Process(Response.Object, Client.Object); }