C# Класс LtiLibrary.Core.Lti1.LtiRequest

Наследование: LtiLibrary.Core.OAuth.OAuthRequest, IBasicLaunchRequest, IOutcomesManagementRequest, IContentItemSelectionRequest, IContentItemSelection
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
SubstituteCustomVariable string

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

Метод Описание
AddCustomParameter ( string name, string value ) : void
AddCustomParameters ( string parameters ) : void

Add the custom parameters from a string.

GetRoles ( ) : IList

Get the roles in the LtiRequest as an IList of LtiRoles.

LtiRequest ( ) : System
LtiRequest ( string messageType ) : System
SetRoles ( IList roles ) : void

Set the roles in the LtiRequest from an IList of LtiRoles.

SubstituteCustomVariables ( NameValueCollection parameters ) : void

Perform all the custom variable substitutions

Приватные методы

Метод Описание
SubstituteCustomVariable ( string value ) : string

Substitute known custom value tokens. Per the LTI 1.1 spec, unknown tokens are ignored.

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

AddCustomParameter() публичный Метод

public AddCustomParameter ( string name, string value ) : void
name string
value string
Результат void

AddCustomParameters() публичный Метод

Add the custom parameters from a string.
public AddCustomParameters ( string parameters ) : void
parameters string
Результат void

GetRoles() публичный Метод

Get the roles in the LtiRequest as an IList of LtiRoles.
public GetRoles ( ) : IList
Результат IList

LtiRequest() публичный Метод

public LtiRequest ( ) : System
Результат System

LtiRequest() публичный Метод

public LtiRequest ( string messageType ) : System
messageType string
Результат System

SetRoles() публичный Метод

Set the roles in the LtiRequest from an IList of LtiRoles.
public SetRoles ( IList roles ) : void
roles IList An IList of LtiRoles.
Результат void

SubstituteCustomVariables() публичный Метод

Perform all the custom variable substitutions
public SubstituteCustomVariables ( NameValueCollection parameters ) : void
parameters System.Collections.Specialized.NameValueCollection
Результат void