winget-cli

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

TestResourceListItem.cs (1584B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="TestResourceListItem.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace Microsoft.Management.Configuration.UnitTests.Helpers
      8 {
      9     using Microsoft.Management.Configuration.Processor.DSCv3.Model;
     10 
     11     /// <summary>
     12     /// Implements IResourceListItem for tests.
     13     /// </summary>
     14     internal class TestResourceListItem : IResourceListItem
     15     {
     16         /// <summary>
     17         /// Gets or sets the type.
     18         /// </summary>
     19         required public string Type { get; set; }
     20 
     21         /// <summary>
     22         /// Gets or sets the kind.
     23         /// </summary>
     24         public ResourceKind Kind { get; set; }
     25 
     26         /// <summary>
     27         /// Gets or sets the version.
     28         /// </summary>
     29         public string? Version { get; set; }
     30 
     31         /// <summary>
     32         /// Gets or sets the description.
     33         /// </summary>
     34         public string? Description { get; set; }
     35 
     36         /// <summary>
     37         /// Gets or sets the directory.
     38         /// </summary>
     39         public string? Directory { get; set; }
     40 
     41         /// <summary>
     42         /// Gets or sets the author.
     43         /// </summary>
     44         public string? Author { get; set; }
     45 
     46         /// <summary>
     47         /// Gets or sets the path.
     48         /// </summary>
     49         public string? Path { get; set; }
     50     }
     51 }