コード例 #1
0
        void ScanningIncludeByPattern()
        {
            #region ScanningIncludeByPattern

            IIncludesBuilder includesBuilder = AllAssemblies
                                               .Matching("NServiceBus")
                                               .And("MyCompany.")
                                               .And("SomethingElse");
            Configure.With(includesBuilder);

            #endregion
        }
コード例 #2
0
        void ScanningIncludeByPattern(BusConfiguration busConfiguration)
        {
            #region ScanningIncludeByPattern

            IIncludesBuilder includesBuilder = AllAssemblies
                                               .Matching("NServiceBus")
                                               .And("MyCompany.")
                                               .And("SomethingElse");
            busConfiguration.AssembliesToScan(includesBuilder);

            #endregion
        }