C# Class LtiLibrary.Core.Lti1.LtiRequest

Inheritance: LtiLibrary.Core.OAuth.OAuthRequest, IBasicLaunchRequest, IOutcomesManagementRequest, IContentItemSelectionRequest, IContentItemSelection
Afficher le fichier Open project: andyfmiller/LtiLibrary Class Usage Examples

Private Properties

Свойство Type Description
SubstituteCustomVariable string

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
SubstituteCustomVariable ( string value ) : string

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

Method Details

AddCustomParameter() public méthode

public AddCustomParameter ( string name, string value ) : void
name string
value string
Résultat void

AddCustomParameters() public méthode

Add the custom parameters from a string.
public AddCustomParameters ( string parameters ) : void
parameters string
Résultat void

GetRoles() public méthode

Get the roles in the LtiRequest as an IList of LtiRoles.
public GetRoles ( ) : IList
Résultat IList

LtiRequest() public méthode

public LtiRequest ( ) : System
Résultat System

LtiRequest() public méthode

public LtiRequest ( string messageType ) : System
messageType string
Résultat System

SetRoles() public méthode

Set the roles in the LtiRequest from an IList of LtiRoles.
public SetRoles ( IList roles ) : void
roles IList An IList of LtiRoles.
Résultat void

SubstituteCustomVariables() public méthode

Perform all the custom variable substitutions
public SubstituteCustomVariables ( NameValueCollection parameters ) : void
parameters System.Collections.Specialized.NameValueCollection
Résultat void