FindAssembly() static private method

static private FindAssembly ( string name ) : string
name string
return string
Ejemplo n.º 1
0
        public static string FindAssembly(string name)
        {
            AssemblyManager.UpdatePath();
            string assemblyName = AssemblyManager.FindAssembly(name);

            if (assemblyName == null)
            {
                throw new FileNotFoundException($"Unable to find assembly '{name}' dll or exe.");
            }
            return(assemblyName);
        }
Ejemplo n.º 2
0
 public static string FindAssembly(string name)
 {
     AssemblyManager.UpdatePath();
     return(AssemblyManager.FindAssembly(name));
 }