C# Class LearningRegistry.LRClient

Exibir arquivo Open project: adlnet-archive/LR.Net Class Usage Examples

Public Methods

Method Description
AcceptAllCertificates ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool
LRClient ( ) : System
LRClient ( string baseUri ) : System
LRClient ( string baseUri, string username, string password ) : System
ObtainDocByID ( string docId ) : lr_document
ObtainDocsByResourceLocator ( string locator, bool ids_only = false ) : ObtainResult
Publish ( lr_Envelope docs ) : PublishResponse

Method Details

AcceptAllCertificates() public static method

public static AcceptAllCertificates ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool
sender object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
policyErrors SslPolicyErrors
return bool

LRClient() public method

public LRClient ( ) : System
return System

LRClient() public method

public LRClient ( string baseUri ) : System
baseUri string
return System

LRClient() public method

public LRClient ( string baseUri, string username, string password ) : System
baseUri string
username string
password string
return System

ObtainDocByID() public method

public ObtainDocByID ( string docId ) : lr_document
docId string
return lr_document

ObtainDocsByResourceLocator() public method

public ObtainDocsByResourceLocator ( string locator, bool ids_only = false ) : ObtainResult
locator string
ids_only bool
return ObtainResult

Publish() public method

public Publish ( lr_Envelope docs ) : PublishResponse
docs lr_Envelope
return PublishResponse