TestDataAttribute.cs 551 B

1234567891011121314151617181920
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. using System;
  4. namespace Microsoft.AspNetCore
  5. {
  6. [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
  7. internal class TestDataAttribute : Attribute
  8. {
  9. public TestDataAttribute(string key, string value)
  10. {
  11. Key = key;
  12. Value = value;
  13. }
  14. public string Key { get; }
  15. public string Value { get; }
  16. }
  17. }