private void ExecuteAddInInstallers(Assembly assembly) { IEnumerable <Type> allInstallActions = assembly.GetTypes().Where(t => typeof(IAddInInstallAction).IsAssignableFrom(t)); foreach (Type installActionType in allInstallActions) { var installAction = Reflector.Construct <IAddInInstallAction>(installActionType); installAction.Install(_kernel); } }