public IEnumerable <Assembly> GetAssemblies(string path = null) { if (string.IsNullOrEmpty(path)) { if (Configuration != null) { path = Configuration.BaseAppPath; } if (string.IsNullOrEmpty(path)) { path = UtilHelper.GetCurrentBinDirectory(); } } return(GetAssembliesFromPath(path)); }