Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="service">The Legion Service</param>
 /// <param name="apikey">The API key of the calling application</param>
 /// <param name="legionurl">The URL of the Legion Services API</param>
 /// <param name="replyformat">The format of the Reply</param>
 public LegionService(string service, string apikey, string apiurl, ReplyFormat replyformat)
 {
     _service     = service;
     _apikey      = apikey;
     _replyformat = replyformat;
     _apiurl      = apiurl;
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="service">The Legion Service</param>
 /// <param name="apikey">The API key of the calling application</param>
 /// <param name="replyformat">The format of the Reply</param>
 public LegionService(string service, string apikey, ReplyFormat replyformat)
     : this(service, apikey, LEGION_URL, replyformat)
 {
 }