< Summary

Class:Azure.AI.FormRecognizer.RecognizeContentOptions
Assembly:Azure.AI.FormRecognizer
File(s):C:\Git\azure-sdk-for-net\sdk\formrecognizer\Azure.AI.FormRecognizer\src\RecognizeContentOptions.cs
Covered lines:3
Uncovered lines:0
Coverable lines:3
Total lines:25
Line coverage:100% (3 of 3)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
get_ContentType()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\formrecognizer\Azure.AI.FormRecognizer\src\RecognizeContentOptions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.AI.FormRecognizer
 5{
 6    /// <summary>
 7    /// The set of options that can be specified when calling a recognition content method
 8    /// to configure the behavior of the request.
 9    /// </summary>
 10    public class RecognizeContentOptions
 11    {
 12        /// <summary>
 13        /// Initializes a new instance of the <see cref="RecognizeContentOptions"/> class.
 14        /// </summary>
 8015        public RecognizeContentOptions()
 16        {
 8017        }
 18
 19        /// <summary>
 20        /// When set, specifies the content type for uploaded streams and skips automatic
 21        /// content type detection.
 22        /// </summary>
 5223        public FormContentType? ContentType { get; set; } = null;
 24    }
 25}

Methods/Properties

.ctor()
get_ContentType()