public BinaryComponent GetBinaryComponent(ContentNamespace ns, int publicationId, string url, string customMetaFilter, IContextData contextData) => _client.Execute <ContentQuery>(GraphQLRequests.BinaryComponent(ns, publicationId, url, customMetaFilter, contextData, GlobalContextDataInternal)).TypedResponseData.BinaryComponent;
public async Task <BinaryComponent> GetBinaryComponentAsync(CmUri cmUri, string customMetaFilter, IContextData contextData, CancellationToken cancellationToken = default(CancellationToken)) => (await _client.ExecuteAsync <ContentQuery>( GraphQLRequests.BinaryComponent(cmUri, customMetaFilter, contextData, GlobalContextDataInternal), cancellationToken).ConfigureAwait(false)) .TypedResponseData.BinaryComponent;
public BinaryComponent GetBinaryComponent(CmUri cmUri, string customMetaFilter, IContextData contextData) => _client.Execute <ContentQuery>(GraphQLRequests.BinaryComponent(cmUri, customMetaFilter, contextData, GlobalContextDataInternal)) .TypedResponseData.BinaryComponent;