// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; using Microsoft.Shared.DiagnosticIds; namespace Microsoft.Agents.AI; /// /// Represents a match found within a file during a search operation. /// [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] public sealed class FileSearchMatch { /// /// Gets or sets the 1-based line number where the match was found. /// [JsonPropertyName("lineNumber")] public int LineNumber { get; set; } /// /// Gets or sets the content of the matching line. /// [JsonPropertyName("line")] public string Line { get; set; } = string.Empty; }