winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

FindPackageResult.cs (864B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="FindPackageResult.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace WinGetMCPServer.Response
      8 {
      9     /// <summary>
     10     /// Contains information about found packages.
     11     /// </summary>
     12     internal class FindPackageResult
     13     {
     14         public required string Identifier { get; init; }
     15 
     16         public string? Name { get; set; }
     17 
     18         public string? Source { get; set; }
     19 
     20         public bool? IsInstalled { get; set; }
     21 
     22         public string? InstalledVersion { get; set; }
     23 
     24         public string? InstalledLocation { get; set; }
     25 
     26         public bool? IsUpdateAvailable { get; set; }
     27     }
     28 }