No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AssemblyWrapper.cs 765B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Reflection;
  3. namespace UnityEngine.TestTools.Utils
  4. {
  5. internal class AssemblyWrapper : IAssemblyWrapper
  6. {
  7. public AssemblyWrapper(Assembly assembly)
  8. {
  9. Assembly = assembly;
  10. Name = assembly.GetName();
  11. }
  12. public Assembly Assembly { get; }
  13. public AssemblyName Name { get; }
  14. public virtual string Location
  15. {
  16. get
  17. {
  18. //Some platforms dont support this
  19. throw new NotImplementedException();
  20. }
  21. }
  22. public virtual AssemblyName[] GetReferencedAssemblies()
  23. {
  24. //Some platforms dont support this
  25. throw new NotImplementedException();
  26. }
  27. }
  28. }