TestConfigurationUnitResultInformation.cs (1367B)
1 // ----------------------------------------------------------------------------- 2 // <copyright file="TestConfigurationUnitResultInformation.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; 10 using System.Collections.Generic; 11 12 /// <summary> 13 /// A test implementation of IConfigurationSetProcessorFactory. 14 /// </summary> 15 internal partial class TestConfigurationUnitResultInformation : IConfigurationUnitResultInformation 16 { 17 /// <summary> 18 /// Gets or sets the description. 19 /// </summary> 20 public string Description { get; set; } = string.Empty; 21 22 /// <summary> 23 /// Gets or sets the details. 24 /// </summary> 25 public string Details { get; set; } = string.Empty; 26 27 /// <summary> 28 /// Gets or sets the result code. 29 /// </summary> 30 public Exception? ResultCode { get; set; } 31 32 /// <summary> 33 /// Gets or sets the result source. 34 /// </summary> 35 public ConfigurationUnitResultSource ResultSource { get; set; } = ConfigurationUnitResultSource.None; 36 } 37 }