AssemblyMetadataAttribute.cs 611 B

123456789101112131415161718192021
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Reflection
  5. {
  6. [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
  7. public sealed class AssemblyMetadataAttribute : Attribute
  8. {
  9. public AssemblyMetadataAttribute(string key, string value)
  10. {
  11. Key = key;
  12. Value = value;
  13. }
  14. public string Key { get; }
  15. public string Value { get; }
  16. }
  17. }