Exemplo n.º 1
0
        private void ExportEventReceivers(RegistrationBuilder builder)
        {
            var eventReceiverRegistrationWrapper = new GenericExportRegistrationWrapper(
                typeof(EventReceiverAttribute),
                typeof(IEntityTypeEventReceiver <>),
                true);

            eventReceiverRegistrationWrapper.Export(builder);
        }
Exemplo n.º 2
0
        private void ExportDuplicationRules(RegistrationBuilder builder)
        {
            var duplicationRuleRegistrationWrapper = new GenericExportRegistrationWrapper(
                typeof(DuplicationRuleAttribute),
                typeof(IDuplicationRule <>),
                true);

            duplicationRuleRegistrationWrapper.Export(builder);
        }
Exemplo n.º 3
0
        private void ExportCacheFeeds(RegistrationBuilder builder)
        {
            var cacheFeedRegistrationWrapper = new GenericExportRegistrationWrapper(
                typeof(CacheFeedAttribute),
                typeof(ICacheFeed <>),
                true);

            cacheFeedRegistrationWrapper.Export(builder);
        }
Exemplo n.º 4
0
        private void ExportSinks(RegistrationBuilder builder)
        {
            var sinkRegistrationWrapper = new GenericExportRegistrationWrapper(
                typeof(SinkAttribute),
                typeof(ISink <>),
                true);

            sinkRegistrationWrapper.Export(builder);
        }
Exemplo n.º 5
0
        private void ExportEntityTypeDefinitions(RegistrationBuilder builder)
        {
            var entityTypeRegistrationWrapper = new GenericExportRegistrationWrapper(
                typeof(EntityTypeDefinitionAttribute),
                typeof(IEntityTypeDefinition <>),
                false);

            entityTypeRegistrationWrapper.Export(builder);
        }
Exemplo n.º 6
0
        private void ExportPreprocessorOperations(RegistrationBuilder builder)
        {
            var preprocessorOperationRegistrationWrapper =
                new GenericExportRegistrationWrapper(
                    typeof(PreprocessorOperationAttribute),
                    typeof(IPreprocessorOperation <>),
                    true);

            preprocessorOperationRegistrationWrapper.Export(builder);
        }