public void RegisterAssemblies(string path) { isLoaded = true; string[] assemblies = Directory.GetFiles(path, "*.dll"); foreach (string assemblyName in assemblies) { Assembly assembly = Assembly.LoadFile(assemblyName); Type[] types = assembly.GetExportedTypes(); foreach (Type type in types) { if (type.IsSubclassOf(typeof(UserControl))) { UserControl userControl = Activator.CreateInstance(type) as UserControl; ITemplateUI templateUI = userControl as ITemplateUI; if (templateUI != null) { esTemplateInfo templateInfo = templateUI.Init(); if (templateInfo != null) { templateUserInterfaces.Add(templateInfo); } } } } } }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("1A69A6BE-C83D-434b-BE65-3E8714AFD00B"); info.TabTitle = "Domain Service"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("977DCCF4-5529-406e-A392-CEB0267AD416"); info.TabTitle = "MySQL"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("BCB3B598-9264-40dc-B497-1D872D9E324E"); info.TabTitle = "PostgreSQL"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("DF64D8BE-865C-449c-B43A-FB8B6A1DC3B9"); info.TabTitle = "Basic Information"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("C4C06F57-1548-49d6-BD4D-AB4B0312D7AE"); info.TabTitle = "Basic Information"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("14846E0F-98D3-4ca0-89E9-54A1F4B332E3"); info.TabTitle = "Microsoft SQL"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("42FA9082-8ABB-4186-93DF-3A04EBB4F2E9"); info.TabTitle = "Metadata Classes"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("491990CE-9355-46c8-93FC-E2EC8956BC41"); info.TabTitle = "Advanced"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("FB6B68B7-03E7-4fbe-8B6E-34A6274B37BB"); info.TabTitle = "Advanced"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("50D483A8-0081-41c5-95C4-65841D25D162"); info.TabTitle = "Basic Information"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("491990CE-9355-46c8-93FC-E2EC8956BC41"); info.TabTitle = "EntitySpaces.js POJO's"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("2E918CFD-D2A7-44a8-BED7-CEFC1EDCC4EC"); info.TabTitle = "Proxy/Stub"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("D08B0E66-E1C9-446a-A40E-1DDA5DE00777"); info.TabTitle = "PostgreSQL"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("60C6D790-E5BE-4634-B168-A89EC6965F45"); info.TabTitle = "Basic Information"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("2216AB4F-BDB4-47de-8412-8560C1F2F420"); info.TabTitle = "Proxy/Stub"; info.TabOrder = 2; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("D00047A0-8318-4e16-9264-0DC6EBBA1818"); info.TabTitle = "Shared Classes"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("A372A980-BB8E-479a-A77E-79FDD6F09E10"); info.TabTitle = "Microsoft Access"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("BFC7BDC4-25CD-490c-A1D1-CE09DB0D28B0"); info.TabTitle = "RIA Dynamic Query Classes"; info.TabOrder = 0; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("EBD6655C-910E-401d-94BA-DF7BD583F42E"); info.TabTitle = "Sybase"; info.TabOrder = 1; return(info); }
esTemplateInfo ITemplateUI.Init() { esTemplateInfo info = new esTemplateInfo(); info.UserInterface = this; info.UserInterfaceId = new Guid("CAC5B8DE-CC72-484d-9470-C6FF652EDC80"); info.TabTitle = "DotNetNuke SQL"; info.TabOrder = 1; return(info); }