C# Class 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.
Inheritance: ITCAPI
显示文件 Open project: RusticiSoftware/TinCanAPILibraryCSharp Class Usage Examples

Private Properties

Property Type Description
AsyncPostTimerElapsed void
DetermineVersioning TCAPIVersion
FlushAsync void
GetWebHeaders System.Net.WebHeaderCollection
PostConnectionFailed void
PostFailed void
PostSuccess void
StoreStatements void

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

DeleteActivityProfile() public method

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
return void

DeleteActivityState() public method

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
return void

DeleteActivityState() public method

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
return void

DeleteActorProfile() public method

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
return void

DeleteAllActivityProfile() public method

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

DeleteAllActorProfile() public method

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
return void

Dispose() public method

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

Flush() public method

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
return void

GetActivity() public method

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

GetActivityProfile() public method

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

GetActivityProfileIds() public method

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

GetActivityProfileIds() public method

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
return string[]

GetActivityState() public method

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
return RusticiSoftware.TinCanAPILibrary.Model.ActivityState

GetActivityState() public method

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
return RusticiSoftware.TinCanAPILibrary.Model.ActivityState

GetActivityStateIds() public method

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
return string[]

GetActivityStateIds() public method

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
return string[]

GetActivityStateIds() public method

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
return string[]

GetActor() public method

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
return RusticiSoftware.TinCanAPILibrary.Model.Actor

GetActorProfile() public method

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
return RusticiSoftware.TinCanAPILibrary.Model.ActorProfile

GetActorProfileIds() public method

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
return string[]

GetActorProfileIds() public method

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
return string[]

GetOAuthAuthorizationUrl() public method

public GetOAuthAuthorizationUrl ( string redirectUrl ) : string
redirectUrl string
return string

GetStatement() public method

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

GetStatements() public method

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
return RusticiSoftware.TinCanAPILibrary.Model.StatementResult

GetStatements() public method

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

SaveActivityProfile() public method

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

SaveActivityProfile() public method

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
return void

SaveActivityProfile() public method

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
return void

SaveActivityProfile() public method

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
return void

SaveActivityState() public method

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

SaveActivityState() public method

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
return void

SaveActivityState() public method

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
return void

SaveActivityState() public method

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
return void

SaveActorProfile() public method

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
return void

SaveActorProfile() public method

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
return void

StoreStatement() public method

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

StoreStatement() public method

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
return void

StoreStatements() public method

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

StoreStatements() public method

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.
return void

TCAPI() public method

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
return System

TCAPI() public method

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
return System

TCAPI() public method

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
return System

TCAPI() public method

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
return System

TCAPI() public method

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
return System

TCAPI() public method

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
return System

UpdateOAuthTokenCredentials() public method

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

VoidStatements() public method

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

VoidStatements() public method

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
return void