winget-cli

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

PackageIdentityErrorResult.cs (833B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="PackageResponse.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace WinGetMCPServer.Response
      8 {
      9     using Microsoft.Management.Deployment;
     10 
     11     /// <summary>
     12     /// Contains information relevant to a failure to identify a package.
     13     /// </summary>
     14     internal class PackageIdentityErrorResult
     15     {
     16         public required string Message { get; init; }
     17 
     18         public required string Identifier { get; init; }
     19 
     20         public string? Source { get; set; }
     21 
     22         public List<FindPackageResult> Packages { get; set; } = new List<FindPackageResult>();
     23     }
     24 }