winget-cli

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

ConfigurationUnitProcessorDetails.cs (5032B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="ConfigurationUnitProcessorDetails.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace Microsoft.Management.Configuration.Processor.Unit
      8 {
      9     using System;
     10     using System.Collections.Generic;
     11     using Microsoft.Management.Configuration;
     12 
     13     /// <summary>
     14     /// Provides information for a specific configuration unit within the runtime.
     15     /// </summary>
     16     internal sealed partial class ConfigurationUnitProcessorDetails : IConfigurationUnitProcessorDetails, IConfigurationUnitProcessorDetails2, IConfigurationUnitProcessorDetails3
     17     {
     18         /// <summary>
     19         /// Initializes a new instance of the <see cref="ConfigurationUnitProcessorDetails"/> class.
     20         /// </summary>
     21         public ConfigurationUnitProcessorDetails()
     22         {
     23         }
     24 
     25         /// <summary>
     26         /// Gets or sets the name of the unit of configuration.
     27         /// </summary>
     28         required public string UnitType { get; internal set; }
     29 
     30         /// <summary>
     31         /// Gets or sets the description of the unit of configuration.
     32         /// </summary>
     33         public string? UnitDescription { get; internal set; }
     34 
     35         /// <summary>
     36         /// Gets or sets the URI of the documentation for the unit of configuration.
     37         /// </summary>
     38         public Uri? UnitDocumentationUri { get; internal set; }
     39 
     40         /// <summary>
     41         /// Gets or sets the URI of the icon for the unit of configuration.
     42         /// </summary>
     43         public Uri? UnitIconUri { get; internal set; }
     44 
     45         /// <summary>
     46         /// Gets or sets the name of the module containing the unit of configuration.
     47         /// </summary>
     48         public string? ModuleName { get; internal set; }
     49 
     50         /// <summary>
     51         /// Gets or sets the type of the module containing the unit of configuration.
     52         /// </summary>
     53         public string? ModuleType { get; internal set; }
     54 
     55         /// <summary>
     56         /// Gets or sets the source of the module containing the unit of configuration.
     57         /// </summary>
     58         public string? ModuleSource { get; internal set; }
     59 
     60         /// <summary>
     61         /// Gets or sets the description of the module containing the unit of configuration.
     62         /// </summary>
     63         public string? ModuleDescription { get; internal set; }
     64 
     65         /// <summary>
     66         /// Gets or sets the URI of the documentation for the module containing the unit of configuration.
     67         /// </summary>
     68         public Uri? ModuleDocumentationUri { get; internal set; }
     69 
     70         /// <summary>
     71         /// Gets or sets the URI for the published module containing the unit of configuration.
     72         /// </summary>
     73         public Uri? PublishedModuleUri { get; internal set; }
     74 
     75         /// <summary>
     76         /// Gets or sets the version of the module containing the unit of configuration.
     77         /// </summary>
     78         public string? Version { get; internal set; }
     79 
     80         /// <summary>
     81         /// Gets or sets the publishing date of the module containing the unit of configuration.
     82         /// </summary>
     83         public DateTimeOffset PublishedDate { get; internal set; }
     84 
     85         /// <summary>
     86         /// Gets or sets a value indicating whether the module is already present on the system.
     87         /// </summary>
     88         public bool IsLocal { get; internal set; }
     89 
     90         /// <summary>
     91         /// Gets or sets the author of the module containing the unit of configuration.
     92         /// </summary>
     93         public string? Author { get; internal set; }
     94 
     95         /// <summary>
     96         /// Gets or sets the publisher of the module containing the unit of configuration.
     97         /// </summary>
     98         public string? Publisher { get; internal set; }
     99 
    100         /// <summary>
    101         /// Gets or sets the signing certificate of the module files containing the unit of configuration.
    102         /// </summary>
    103         public IReadOnlyList<object>? SigningInformation { get; internal set; }
    104 
    105         /// <summary>
    106         /// Gets or sets the settings information for the unit of configuration.
    107         /// </summary>
    108         public IReadOnlyList<IConfigurationUnitSettingDetails>? Settings { get; internal set; }
    109 
    110         /// <summary>
    111         /// Gets or sets a value indicating whether the module comes from a public repository.
    112         /// </summary>
    113         public bool IsPublic { get; internal set; }
    114 
    115         /// <summary>
    116         /// Gets or sets a value indicating whether this resource is a group.
    117         /// </summary>
    118         public bool IsGroup { get; internal set; }
    119 
    120         /// <summary>
    121         /// Gets or sets the path of the resource.
    122         /// </summary>
    123         public string? Path { get; internal set; }
    124     }
    125 }