ConversationsModelFactory.WeightResolution(Double, WeightUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of WeightResolution.
public static Azure.AI.Language.Conversations.Models.WeightResolution WeightResolution (double value = 0, Azure.AI.Language.Conversations.Models.WeightUnit unit = default);
static member WeightResolution : double * Azure.AI.Language.Conversations.Models.WeightUnit -> Azure.AI.Language.Conversations.Models.WeightResolution
Public Shared Function WeightResolution (Optional value As Double = 0, Optional unit As WeightUnit = Nothing) As WeightResolution
Parameters
- value
- Double
The numeric value that the extracted text denotes.
- unit
- WeightUnit
The weight Unit of measurement.
Returns
A new WeightResolution instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET