< Summary

Information
Class: UIBlazor.Services.Models.ToolCallFunction
Assembly: UIBlazor
File(s): /home/runner/work/InvAit/InvAit/UIBlazor/Services/Models/ToolCallFunction.cs
Tag: 14_22728831704
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 21
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Name()100%210%
get_Arguments()100%210%

File(s)

/home/runner/work/InvAit/InvAit/UIBlazor/Services/Models/ToolCallFunction.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace UIBlazor.Services.Models;
 4
 5/// <summary>
 6/// Represents a class that encapsulates a function or method to be called.
 7/// </summary>
 8public class ToolCallFunction
 9{
 10    /// <summary>
 11    /// The name of the function to be executed.
 12    /// </summary>
 13    [JsonPropertyName("name")]
 014    public string Name { get; set; } = string.Empty;
 15
 16    /// <summary>
 17    /// Gets or sets the function's arguments.
 18    /// </summary>
 19    [JsonPropertyName("arguments")]
 020    public string Arguments { get; set; } = string.Empty;
 21}

Methods/Properties

get_Name()
get_Arguments()