using System.Reflection; namespace DS.Module.Core.Helpers; public static class ReflectHelper { public static Assembly[] GetAssemblies() { Assembly[] assemblies = null; if (null == assemblies || assemblies.Length == 0) { assemblies = AppDomain.CurrentDomain.GetAssemblies(); } return assemblies ?? ArrayHelper.Empty(); } }