WithRequest(string, Func<IDocument, IExecutionContext, YouTubeService, object>) Method
Submits a request to the YouTube client. This allows you to incorporate data from the execution context and current document in your request.
Namespace
Statiq.YouTube
Containing Type
ReadYouTube

Syntax

public ReadYouTube WithRequest(string key, Func<IDocument, IExecutionContext, YouTubeService, object> request)

Parameters

Name Type Description
key string The metadata key in which to store the return value of the request function.
request Func<IDocument, IExecutionContext, YouTubeService, object> A function with the request to make.

Return Value

Type Description
ReadYouTube The current module instance.