/// <summary> /// Initializes a new instance of <see cref="InkRecognizerClient"/>. /// </summary> /// <param name="endpoint">Endpoint URI for InkRecognizer service.</param> /// <param name="credential">The application key received after signing up for the service.</param> /// <param name="options">Options that allow to configure the request sent to the InkRecognizer service.</param> public InkRecognizerClient( Uri endpoint, InkRecognizerCredential credential, InkRecognizerClientOptions options) { var destination = endpoint.AbsoluteUri; var serviceVersion = GetServiceVersion(options.Version); _endpoint = new Uri(destination + serviceVersion); _options = options; _credential = credential; }
///<summary> /// Initializes a new instance of <see cref="InkRecognizerClient"/>. ///</summary> ///<param name="endpoint">Endpoint URI for InkRecognizer service.</param> ///<param name="credential">The application key received after signing up for the service.</param> public InkRecognizerClient(Uri endpoint, InkRecognizerCredential credential) : this(endpoint, credential, new InkRecognizerClientOptions()) { }