ResolveEventArgs.cs 661 B

12345678910111213141516171819202122232425
  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. using System.Reflection;
  5. namespace System
  6. {
  7. public class ResolveEventArgs : EventArgs
  8. {
  9. public ResolveEventArgs(string name)
  10. {
  11. Name = name;
  12. }
  13. public ResolveEventArgs(string name, Assembly requestingAssembly)
  14. {
  15. Name = name;
  16. RequestingAssembly = requestingAssembly;
  17. }
  18. public string Name { get; }
  19. public Assembly RequestingAssembly { get; }
  20. }
  21. }