public void RegisterTest() { // Register the mark types defined in assemblies of current app domain. AutofacUtility.Register(); }