public string RequestAssembly(string assembly) { if (m_knownAssemblies.Add(assembly)) { if (PlatformStructure != null) { string assemblyPath = PlatformStructure.RequestAssembly(assembly); if (assemblyPath != null) { return(assemblyPath); } } if (MixedStructure != null) { string assemblyPath = MixedStructure.RequestAssembly(assembly); if (assemblyPath != null) { return(assemblyPath); } } Logger.Log(LogType.Warning, LogCategory.Import, $"Assembly '{assembly}' hasn't been found"); return(null); } else { return(null); } }
public bool RequestAssembly(string assembly) { if (m_knownAssemblies.Add(assembly)) { if (PlatformStructure != null) { if (PlatformStructure.RequestAssembly(assembly)) { return(true); } } if (MixedStructure != null) { if (MixedStructure.RequestAssembly(assembly)) { return(true); } } Logger.Instance.Log(LogType.Warning, LogCategory.Import, $"Assembly '{assembly}' hasn't been found"); return(false); } else { return(true); } }
public string RequestAssembly(string assembly) { if (PlatformStructure != null) { string assemblyPath = PlatformStructure.RequestAssembly(assembly); if (assemblyPath != null) { return(assemblyPath); } } if (MixedStructure != null) { string assemblyPath = MixedStructure.RequestAssembly(assembly); if (assemblyPath != null) { return(assemblyPath); } } return(null); }
public bool RequestAssembly(string assembly) { string fixedAssembly = FilenameUtils.FixAssemblyName(assembly); if (PlatformStructure != null) { if (PlatformStructure.RequestAssembly(assembly)) { return(true); } } if (MixedStructure != null) { if (MixedStructure.RequestAssembly(assembly)) { return(true); } } Logger.Instance.Log(LogType.Warning, LogCategory.Import, $"Assembly '{assembly}' hasn't been found"); return(false); }