示例#1
0
        public static void ApplicationStart()
        {
            // Use Project's Web.config Connection Strings
            DevExpress.XtraReports.Web.ReportDesigner.DefaultReportDesignerContainer
            .RegisterDataSourceWizardConfigFileConnectionStringsProvider();

            // Register inject assembilies
            InjectContainer.RegisterAssembiles(AppDomain.CurrentDomain.GetAssemblies()
                                               .Where(i => i.FullName.StartsWith("DReporting", StringComparison.InvariantCultureIgnoreCase)));
        }
示例#2
0
 public static void RegisterInject(IEnumerable <Assembly> assemblies)
 {
     InjectContainer.RegisterAssembiles(assemblies);
 }