winget-cli

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

TestResourceExportItem.cs (1485B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="TestResourceExportItem.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 System.Collections.Generic;
     10     using Microsoft.Management.Configuration.Processor.DSCv3.Model;
     11     using Windows.Foundation.Collections;
     12 
     13     /// <summary>
     14     /// Implements IResourceExportItem for tests.
     15     /// </summary>
     16     internal class TestResourceExportItem : IResourceExportItem
     17     {
     18         /// <summary>
     19         /// Gets or sets the type.
     20         /// </summary>
     21         required public string Type { get; set; }
     22 
     23         /// <summary>
     24         /// Gets or sets the name.
     25         /// </summary>
     26         required public string Name { get; set; }
     27 
     28         /// <summary>
     29         /// Gets or sets the settings.
     30         /// </summary>
     31         public ValueSet Settings { get; set; } = new ValueSet();
     32 
     33         /// <summary>
     34         /// Gets or sets the metadata.
     35         /// </summary>
     36         public ValueSet Metadata { get; set; } = new ValueSet();
     37 
     38         /// <summary>
     39         /// Gets or sets the dependencies.
     40         /// </summary>
     41         public IList<string> Dependencies { get; set; } = new List<string>();
     42     }
     43 }