C# 클래스 RusticiSoftware.TinCanAPILibrary.TCAPI

The TCAPI object which handles the bulk of the logic and communication Note the read only properties, which must be assigned in the constructor are the asynchronous support variables. If a TCAPI with no AsyncSupport is created, batching statements for async launch will just populate the offlinestorage indefinitely, unless a manual call to Flush happens.
상속: ITCAPI
파일 보기 프로젝트 열기: RusticiSoftware/TinCanAPILibraryCSharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AsyncPostTimerElapsed void
DetermineVersioning TCAPIVersion
FlushAsync void
GetWebHeaders System.Net.WebHeaderCollection
PostConnectionFailed void
PostFailed void
PostSuccess void
StoreStatements void

공개 메소드들

메소드 설명
DeleteActivityProfile ( string activityId, string profileId ) : void

Deletes the profile for a given activity

DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : void

Deletes the activity state

DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : void

Deletes the activity state

DeleteActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : void

Deletes an actor profile

DeleteAllActivityProfile ( string activityId ) : void

Deletes all of the profiles associated with the activity

DeleteAllActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : void

Deletes all the actor profiles for a given actor

Dispose ( ) : void

Disposes the resources held by the TCAPI

Flush ( ) : void

Synchronously flushes the async queue, emptying the buffer completely. Any failed statements get pushed back into the buffer by default (and then throw their exception).

GetActivity ( string activityId ) : Activity

Gets an Activity

GetActivityProfile ( string activityId, string profileId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile

Retrieves the ActivityProfile

GetActivityProfileIds ( string activityId ) : string[]

Gets all of the profile document keys for an activity

GetActivityProfileIds ( string activityId, NullableDateTime since ) : string[]

Gets all of the profile document keys for an activity

GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState

Retrieves a specific activity state

GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState

Retrieves a specific activity state

GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[]

Gets all the activity states for an activity

GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[]

Gets all the activity states for an activity

GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string registrationId, NullableDateTime since ) : string[]

Gets all the activity states for an activity

GetActor ( RusticiSoftware.TinCanAPILibrary.Model.Actor partialActor ) : RusticiSoftware.TinCanAPILibrary.Model.Actor

Retreives a complete actor given a partial actor

GetActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : ActorProfile

Retrieves an Actor profile

GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[]

Retrieves a list of all actor profile document keys

GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[]

Retrieves a list of all actor profile document keys

GetOAuthAuthorizationUrl ( string redirectUrl ) : string
GetStatement ( string statementId ) : RusticiSoftware.TinCanAPILibrary.Model.Statement

Retreives a statement with a given ID

GetStatements ( StatementQueryObject queryObject ) : StatementResult

Retreives all statements based matched by the query

GetStatements ( string moreUrl ) : StatementResult

Retreives the statements from a continue URL

SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile ) : void

Saves the activity profile

SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void

Saves the activity profile

SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite ) : void

Saves the activity profile

SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void

Saves the activity profile

SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState ) : void

Saves the activity state

SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void

Saves the activity state

SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite ) : void

Saves the activity state

SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void

Saves the activity state

SaveActorProfile ( ActorProfile actorProfile, ActorProfile previousProfile ) : void

Saves an actor profile

SaveActorProfile ( ActorProfile actorProfile, ActorProfile previousProfile, bool overwrite ) : void

Saves an actor profile

StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement ) : void

Stores a single statement

StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement, bool synchronous ) : void

Stores a single statement asynchronously

StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void

Stores multiple statements

StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, bool synchronous ) : void

Stores multiple statements asynchronously

TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification ) : System

Constructs a TCAPI object with no asynchronous support.

TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage ) : System

Construct a TCAPI object with asynchronous support with a default post interval of 500ms and a default maxBatchSize of 10.

TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage, int statementPostInterval ) : System

Construct a TCAPI object with asynchronous support and a default maxBatchSize of 10.

TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage, int statementPostInterval, int maxBatchSize ) : System

Construct a TCAPI object with asynchronous support.

TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage, int statementPostInterval, int maxBatchSize, TCAPIVersion version ) : System
TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, TCAPIVersion version ) : System

Constructs a TCAPI Object, forcibly setting the version.

Forcing the version is not recommended and should only be used if an issue with the LRS

UpdateOAuthTokenCredentials ( string temporaryCredentialsId, string verifierCode ) : RusticiSoftware.TinCanAPILibrary.Model.OAuthAuthentication
VoidStatements ( string statementIdsToVoid ) : void

Voids a series of statements using the administrator actor

VoidStatements ( string statementIdsToVoid, bool synchronous ) : void

Voids a series of statements using the administrator actor

비공개 메소드들

메소드 설명
AsyncPostTimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
DetermineVersioning ( Uri endPoint, IAuthenticationConfiguration authentication, TCAPIVersion version ) : TCAPIVersion

This method determines which version of the X-EXPERIENCE-API is being used by requesting a single statement and reading the versioning header. This allows proper serialization when communicating with the server.

FlushAsync ( ) : void

Runs multiple HTTPPostRequests serially and asynchronously.

GetWebHeaders ( Uri endPoint, IAuthenticationConfiguration authentication, TCAPIVersion version ) : WebHeaderCollection
PostConnectionFailed ( Exception e ) : void
PostFailed ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, Exception e ) : void
PostSuccess ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void

This method is fired by the AsyncPostCallback every time FlushAsync succeeds.

StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, AsyncPostCallback callback ) : void

Stores statements synchronously, must be called from a separate thread

메소드 상세

DeleteActivityProfile() 공개 메소드

Deletes the profile for a given activity
public DeleteActivityProfile ( string activityId, string profileId ) : void
activityId string The activity ID
profileId string The profile document key
리턴 void

DeleteActivityState() 공개 메소드

Deletes the activity state
public DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : void
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The associated actor
stateId string The state document key
리턴 void

DeleteActivityState() 공개 메소드

Deletes the activity state
public DeleteActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : void
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The associated actor
stateId string The state document key
registrationId string Optional registration ID
리턴 void

DeleteActorProfile() 공개 메소드

Deletes an actor profile
public DeleteActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : void
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor that owns the profile
profileId string The profile document key
리턴 void

DeleteAllActivityProfile() 공개 메소드

Deletes all of the profiles associated with the activity
public DeleteAllActivityProfile ( string activityId ) : void
activityId string The activity ID
리턴 void

DeleteAllActorProfile() 공개 메소드

Deletes all the actor profiles for a given actor
public DeleteAllActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : void
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor to delete profiles from
리턴 void

Dispose() 공개 메소드

Disposes the resources held by the TCAPI
public Dispose ( ) : void
리턴 void

Flush() 공개 메소드

Synchronously flushes the async queue, emptying the buffer completely. Any failed statements get pushed back into the buffer by default (and then throw their exception).
public Flush ( ) : void
리턴 void

GetActivity() 공개 메소드

Gets an Activity
public GetActivity ( string activityId ) : Activity
activityId string The activity ID
리턴 RusticiSoftware.TinCanAPILibrary.Model.Activity

GetActivityProfile() 공개 메소드

Retrieves the ActivityProfile
public GetActivityProfile ( string activityId, string profileId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile
activityId string The activity ID
profileId string The profile document key
리턴 RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile

GetActivityProfileIds() 공개 메소드

Gets all of the profile document keys for an activity
public GetActivityProfileIds ( string activityId ) : string[]
activityId string The activity ID
리턴 string[]

GetActivityProfileIds() 공개 메소드

Gets all of the profile document keys for an activity
public GetActivityProfileIds ( string activityId, NullableDateTime since ) : string[]
activityId string The activity ID
since NullableDateTime Optional start date parameter
리턴 string[]

GetActivityState() 공개 메소드

Retrieves a specific activity state
public GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor associated with the state
stateId string The state document id
리턴 RusticiSoftware.TinCanAPILibrary.Model.ActivityState

GetActivityState() 공개 메소드

Retrieves a specific activity state
public GetActivityState ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string stateId, string registrationId ) : RusticiSoftware.TinCanAPILibrary.Model.ActivityState
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor associated with the state
stateId string The state document id
registrationId string Optional registration ID
리턴 RusticiSoftware.TinCanAPILibrary.Model.ActivityState

GetActivityStateIds() 공개 메소드

Gets all the activity states for an activity
public GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[]
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor
리턴 string[]

GetActivityStateIds() 공개 메소드

Gets all the activity states for an activity
public GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[]
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor
since NullableDateTime Exclusive start date
리턴 string[]

GetActivityStateIds() 공개 메소드

Gets all the activity states for an activity
public GetActivityStateIds ( string activityId, RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string registrationId, NullableDateTime since ) : string[]
activityId string The activity ID
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor
registrationId string The registration ID
since NullableDateTime Exclusive start date
리턴 string[]

GetActor() 공개 메소드

Retreives a complete actor given a partial actor
public GetActor ( RusticiSoftware.TinCanAPILibrary.Model.Actor partialActor ) : RusticiSoftware.TinCanAPILibrary.Model.Actor
partialActor RusticiSoftware.TinCanAPILibrary.Model.Actor An actor containing at least one inverse functional property
리턴 RusticiSoftware.TinCanAPILibrary.Model.Actor

GetActorProfile() 공개 메소드

Retrieves an Actor profile
public GetActorProfile ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, string profileId ) : ActorProfile
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor that owns the profile
profileId string The profile document key
리턴 RusticiSoftware.TinCanAPILibrary.Model.ActorProfile

GetActorProfileIds() 공개 메소드

Retrieves a list of all actor profile document keys
public GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor ) : string[]
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor that owns the document keys
리턴 string[]

GetActorProfileIds() 공개 메소드

Retrieves a list of all actor profile document keys
public GetActorProfileIds ( RusticiSoftware.TinCanAPILibrary.Model.Actor actor, NullableDateTime since ) : string[]
actor RusticiSoftware.TinCanAPILibrary.Model.Actor The actor that owns the document keys
since NullableDateTime Optional start date
리턴 string[]

GetOAuthAuthorizationUrl() 공개 메소드

public GetOAuthAuthorizationUrl ( string redirectUrl ) : string
redirectUrl string
리턴 string

GetStatement() 공개 메소드

Retreives a statement with a given ID
public GetStatement ( string statementId ) : RusticiSoftware.TinCanAPILibrary.Model.Statement
statementId string Statement to retreive
리턴 RusticiSoftware.TinCanAPILibrary.Model.Statement

GetStatements() 공개 메소드

Retreives all statements based matched by the query
public GetStatements ( StatementQueryObject queryObject ) : StatementResult
queryObject RusticiSoftware.TinCanAPILibrary.Model.StatementQueryObject Object to create a statement query with
리턴 RusticiSoftware.TinCanAPILibrary.Model.StatementResult

GetStatements() 공개 메소드

Retreives the statements from a continue URL
public GetStatements ( string moreUrl ) : StatementResult
moreUrl string
리턴 RusticiSoftware.TinCanAPILibrary.Model.StatementResult

SaveActivityProfile() 공개 메소드

Saves the activity profile
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile ) : void
profile RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile The activity profile to save
리턴 void

SaveActivityProfile() 공개 메소드

Saves the activity profile
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void
profile RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile The activity profile to save
previous RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile The last representation of the activity profile
리턴 void

SaveActivityProfile() 공개 메소드

Saves the activity profile
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite ) : void
profile RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile The activity profile to save
overwrite bool
리턴 void

SaveActivityProfile() 공개 메소드

Saves the activity profile
public SaveActivityProfile ( RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile profile, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile previous ) : void
profile RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile The activity profile to save
overwrite bool Optional parameter to force overwrite
previous RusticiSoftware.TinCanAPILibrary.Model.ActivityProfile The last representation of the activity profile
리턴 void

SaveActivityState() 공개 메소드

Saves the activity state
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState ) : void
activityState RusticiSoftware.TinCanAPILibrary.Model.ActivityState The activity state to save
리턴 void

SaveActivityState() 공개 메소드

Saves the activity state
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void
activityState RusticiSoftware.TinCanAPILibrary.Model.ActivityState The activity state to save
previousState RusticiSoftware.TinCanAPILibrary.Model.ActivityState Optional parameter for the last known state of the activity
리턴 void

SaveActivityState() 공개 메소드

Saves the activity state
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite ) : void
activityState RusticiSoftware.TinCanAPILibrary.Model.ActivityState The activity state to save
overwrite bool Optional parameter to force overwrite
리턴 void

SaveActivityState() 공개 메소드

Saves the activity state
public SaveActivityState ( RusticiSoftware.TinCanAPILibrary.Model.ActivityState activityState, bool overwrite, RusticiSoftware.TinCanAPILibrary.Model.ActivityState previousState ) : void
activityState RusticiSoftware.TinCanAPILibrary.Model.ActivityState The activity state to save
overwrite bool Optional parameter to force overwrite
previousState RusticiSoftware.TinCanAPILibrary.Model.ActivityState Optional parameter for the last known state of the activity
리턴 void

SaveActorProfile() 공개 메소드

Saves an actor profile
public SaveActorProfile ( ActorProfile actorProfile, ActorProfile previousProfile ) : void
actorProfile RusticiSoftware.TinCanAPILibrary.Model.ActorProfile The actor profile instance
previousProfile RusticiSoftware.TinCanAPILibrary.Model.ActorProfile The last instance of the actor profile
리턴 void

SaveActorProfile() 공개 메소드

Saves an actor profile
public SaveActorProfile ( ActorProfile actorProfile, ActorProfile previousProfile, bool overwrite ) : void
actorProfile RusticiSoftware.TinCanAPILibrary.Model.ActorProfile The actor profile instance
previousProfile RusticiSoftware.TinCanAPILibrary.Model.ActorProfile The last instance of the actor profile
overwrite bool Flag to force overwrite of the previous profile
리턴 void

StoreStatement() 공개 메소드

Stores a single statement
public StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement ) : void
statement RusticiSoftware.TinCanAPILibrary.Model.Statement The statement to store
리턴 void

StoreStatement() 공개 메소드

Stores a single statement asynchronously
public StoreStatement ( RusticiSoftware.TinCanAPILibrary.Model.Statement statement, bool synchronous ) : void
statement RusticiSoftware.TinCanAPILibrary.Model.Statement The statement to store
synchronous bool
리턴 void

StoreStatements() 공개 메소드

Stores multiple statements
public StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void
statements RusticiSoftware.TinCanAPILibrary.Model.Statement An array of statements to store
리턴 void

StoreStatements() 공개 메소드

Stores multiple statements asynchronously
public StoreStatements ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements, bool synchronous ) : void
statements RusticiSoftware.TinCanAPILibrary.Model.Statement An array of statements to store
synchronous bool When true, stores statements synchronously. When false, adds the statements to the queue.
리턴 void

TCAPI() 공개 메소드

Constructs a TCAPI object with no asynchronous support.
public TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification ) : System
endpoint System.Uri The endpoint for the TCAPI
authentification IAuthenticationConfiguration The authentification object
리턴 System

TCAPI() 공개 메소드

Construct a TCAPI object with asynchronous support with a default post interval of 500ms and a default maxBatchSize of 10.
public TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage ) : System
endpoint System.Uri The LRS endpoint
authentification IAuthenticationConfiguration Authentification object
tcapiCallback ITCAPICallback Asynchornous callback object
offlineStorage IOfflineStorage Offline Storage object
리턴 System

TCAPI() 공개 메소드

Construct a TCAPI object with asynchronous support and a default maxBatchSize of 10.
public TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage, int statementPostInterval ) : System
endpoint System.Uri The LRS endpoint
authentification IAuthenticationConfiguration Authentification object
tcapiCallback ITCAPICallback Asynchornous callback object
offlineStorage IOfflineStorage Offline Storage object
statementPostInterval int Interval for asynchronous operations to take place, in seconds
리턴 System

TCAPI() 공개 메소드

Construct a TCAPI object with asynchronous support.
public TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage, int statementPostInterval, int maxBatchSize ) : System
endpoint System.Uri The LRS endpoint
authentification IAuthenticationConfiguration Authentification object
tcapiCallback ITCAPICallback Asynchornous callback object
offlineStorage IOfflineStorage Offline Storage object
statementPostInterval int Interval for asynchronous operations to take place, in milliseconds
maxBatchSize int
리턴 System

TCAPI() 공개 메소드

public TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, ITCAPICallback tcapiCallback, IOfflineStorage offlineStorage, int statementPostInterval, int maxBatchSize, TCAPIVersion version ) : System
endpoint System.Uri
authentification IAuthenticationConfiguration
tcapiCallback ITCAPICallback
offlineStorage IOfflineStorage
statementPostInterval int
maxBatchSize int
version TCAPIVersion
리턴 System

TCAPI() 공개 메소드

Constructs a TCAPI Object, forcibly setting the version.
Forcing the version is not recommended and should only be used if an issue with the LRS
public TCAPI ( Uri endpoint, IAuthenticationConfiguration authentification, TCAPIVersion version ) : System
endpoint System.Uri
authentification IAuthenticationConfiguration
version TCAPIVersion
리턴 System

UpdateOAuthTokenCredentials() 공개 메소드

public UpdateOAuthTokenCredentials ( string temporaryCredentialsId, string verifierCode ) : RusticiSoftware.TinCanAPILibrary.Model.OAuthAuthentication
temporaryCredentialsId string
verifierCode string
리턴 RusticiSoftware.TinCanAPILibrary.Model.OAuthAuthentication

VoidStatements() 공개 메소드

Voids a series of statements using the administrator actor
public VoidStatements ( string statementIdsToVoid ) : void
statementIdsToVoid string A list of statement IDs
리턴 void

VoidStatements() 공개 메소드

Voids a series of statements using the administrator actor
public VoidStatements ( string statementIdsToVoid, bool synchronous ) : void
statementIdsToVoid string A list of statement IDs
synchronous bool
리턴 void