Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the HttpResourceAccessContext class.
 /// </summary>
 /// <param name="appKey">The app secret key for accessing API.</param>
 /// <param name="host">The host URI.</param>
 public HttpResourceAccessContext(AppAccessingKey appKey, Uri host)
     : this(new HttpResourceAccessClient(appKey, host))
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the HttpResourceEntityProvider class.
 /// </summary>
 /// <param name="appKey">The app secret key for accessing API.</param>
 /// <param name="host">The host URI.</param>
 /// <param name="relativePath">The relative path.</param>
 public HttpResourceEntityProvider(AppAccessingKey appKey, Uri host, string relativePath)
 {
     CoreResources = new HttpResourceAccessClient(appKey, host);
     RelativePath  = relativePath;
 }