YouTube.

WithRequest(string, Func<IDocument, IExecutionContext, YouTubeService, Object>) Method

Summary

Submits a request to the YouTube client. This allows you to incorporate data from the execution context and current document in your request.
Assembly
Wyam.YouTube.dll
Namespace
Wyam.YouTube
Containing Type
YouTube

Syntax

public YouTube 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
YouTube The current module instance.
GitHub