C# Класс LtiLibrary.AspNet.ContentItems.ContentItemsClient

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data ) : LtiRequestViewModel

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.

CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data, string ltiErrorLog, string ltiErrorMsg, string ltiLog, string ltiMsg ) : LtiRequestViewModel

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.

Описание методов

CreateContentItemSelectionViewModel() публичный статический Метод

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.
public static CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data ) : LtiRequestViewModel
url string The content_item_return_url from the content-item message.
consumerKey string The OAuth consumer key to use to sign the request.
consumerSecret string The OAuth consumer secret to use to sign the request.
contentItems LtiLibrary.Core.ContentItems.ContentItemSelectionGraph The ContentItemPlacementResponse to send.
data string The data received in the original content-item message.
Результат LtiLibrary.AspNet.Lti1.LtiRequestViewModel

CreateContentItemSelectionViewModel() публичный статический Метод

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.
public static CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data, string ltiErrorLog, string ltiErrorMsg, string ltiLog, string ltiMsg ) : LtiRequestViewModel
url string The content_item_return_url from the content-item message.
consumerKey string The OAuth consumer key to use to sign the request.
consumerSecret string The OAuth consumer secret to use to sign the request.
contentItems LtiLibrary.Core.ContentItems.ContentItemSelectionGraph The ContentItemPlacementResponse to send.
data string The data received in the original content-item message.
ltiErrorLog string Optional plain text error message to be logged by the Tool Consumer.
ltiErrorMsg string Optional plain text error message to be displayed by the Tool Consumer.
ltiLog string Optional plain text message to be logged by the Tool Consumer.
ltiMsg string Optional plain text message to be displayed by the Tool Consumer.
Результат LtiLibrary.AspNet.Lti1.LtiRequestViewModel