C# 클래스 LtiLibrary.Core.Lti1.LtiRequest

상속: LtiLibrary.Core.OAuth.OAuthRequest, IBasicLaunchRequest, IOutcomesManagementRequest, IContentItemSelectionRequest, IContentItemSelection
파일 보기 프로젝트 열기: andyfmiller/LtiLibrary 1 사용 예제들

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