コード例 #1
0
 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;
コード例 #2
0
 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;
コード例 #3
0
 public BinaryComponent GetBinaryComponent(CmUri cmUri, string customMetaFilter, IContextData contextData)
 =>
 _client.Execute <ContentQuery>(GraphQLRequests.BinaryComponent(cmUri, customMetaFilter, contextData,
                                                                GlobalContextDataInternal))
 .TypedResponseData.BinaryComponent;