AssemblyWrapper.cs 683 B

123456789101112131415161718192021222324252627282930
  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. }
  11. public Assembly Assembly { get; }
  12. public virtual string Location
  13. {
  14. get
  15. {
  16. //Some platforms dont support this
  17. throw new NotImplementedException();
  18. }
  19. }
  20. public virtual AssemblyName[] GetReferencedAssemblies()
  21. {
  22. //Some platforms dont support this
  23. throw new NotImplementedException();
  24. }
  25. }
  26. }