winget-cli

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

InProcAttribute.cs (997B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="InProcAttribute.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 Xunit.Sdk;
     11 
     12     /// <summary>
     13     /// Trait used to mark a test as only for the in proc scenario.
     14     /// </summary>
     15     [TraitDiscoverer(InProcDiscoverer.TypeName, Constants.AssemblyNameForTraits)]
     16     [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
     17     public class InProcAttribute : Attribute, ITraitAttribute
     18     {
     19         /// <summary>
     20         /// Initializes a new instance of the <see cref="InProcAttribute"/> class.
     21         /// </summary>
     22         public InProcAttribute()
     23         {
     24         }
     25     }
     26 }