GetSerializer() static private method

static private GetSerializer ( ) : System.Web.Script.Serialization.JavaScriptSerializer
return System.Web.Script.Serialization.JavaScriptSerializer
Ejemplo n.º 1
0
 public LRClient()
 {
     _serializer           = LRUtils.GetSerializer();
     _encoder              = LRUtils.GetEncoder();
     _harvester            = new Harvester();
     SslValidationCallback = AcceptAllCertificates;
 }
Ejemplo n.º 2
0
 public LRClient(string baseUri, string username, string password)
 {
     _baseUri              = new Uri(baseUri);
     _serializer           = LRUtils.GetSerializer();
     _encoder              = LRUtils.GetEncoder();
     _harvester            = new Harvester(_baseUri);
     Username              = username;
     Password              = password;
     SslValidationCallback = AcceptAllCertificates;
 }