public static void Register(Type type) { RegisterFunction(type); ExcelProvider.RegisterProvider <AddIn>(); }