You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
765 B
C#
34 lines
765 B
C#
1 year ago
|
using System;
|
||
|
using System.Reflection;
|
||
|
|
||
|
namespace UnityEngine.TestTools.Utils
|
||
|
{
|
||
|
internal class AssemblyWrapper : IAssemblyWrapper
|
||
|
{
|
||
|
public AssemblyWrapper(Assembly assembly)
|
||
|
{
|
||
|
Assembly = assembly;
|
||
|
Name = assembly.GetName();
|
||
|
}
|
||
|
|
||
|
public Assembly Assembly { get; }
|
||
|
|
||
|
public AssemblyName Name { get; }
|
||
|
|
||
|
public virtual string Location
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
//Some platforms dont support this
|
||
|
throw new NotImplementedException();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public virtual AssemblyName[] GetReferencedAssemblies()
|
||
|
{
|
||
|
//Some platforms dont support this
|
||
|
throw new NotImplementedException();
|
||
|
}
|
||
|
}
|
||
|
}
|