mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
feat(UXAssist): public ModFeature lifecycle registry
This commit is contained in:
1 parent
bfe0787923
commit
cb7a965d12
4 files changed
+109
No files matched your search
@@ -15,6 +15,11 @@ public static class Util
|
||||
|
||||
public static Type[] GetTypesInNamespace(Assembly assembly, string nameSpace) => GetTypesFiltered(assembly, t => string.Equals(t.Namespace, nameSpace, StringComparison.Ordinal));
|
||||
|
||||
public static Type[] GetTypesInNamespacePrefix(Assembly assembly, string prefix)
|
||||
{
|
||||
return GetTypesFiltered(assembly, t => t.Namespace != null && t.Namespace.StartsWith(prefix, StringComparison.Ordinal));
|
||||
}
|
||||
|
||||
public static byte[] LoadEmbeddedResource(string path, Assembly assembly = null)
|
||||
{
|
||||
if (assembly == null)
|
||||
|
||||
Reference in new issue
Block a user