public override void Configure(Configuration configuration)
 {
     configuration.AddEventType <SupportBean>("Bean");
     configuration.AddImport <MyAnnotationValueEnumAttribute>();
     configuration.AddNamespaceImport <MyAnnotationNestableValuesAttribute>();
     configuration.AddAnnotationImport <SupportEnum>();
     configuration.AddEventType <SupportBean>();
 }
Esempio n. 2
0
        public void TestAnnotationSpecificImport()
        {
            Configuration configuration = SupportConfigFactory.GetConfiguration();

            configuration.AddImport <MyAnnotationValueEnumAttribute>();
            configuration.AddAnnotationImport <SupportEnum>();
            configuration.AddEventType <SupportBean>();
            _epService = EPServiceProviderManager.GetDefaultProvider(configuration);
            _epService.Initialize();

            RunAssertionAnnoImportValidate(_epService);

            RunAssertionNoClassNameRequired(_epService);
        }
 public override void Configure(Configuration configuration)
 {
     configuration.AddAnnotationImport(typeof(SupportEnum));
     configuration.AddAnnotationImport(typeof(MyAnnotationValueEnumAttribute));
     configuration.AddEventType <SupportBean>();
 }