void ScanningIncludeByPattern() { #region ScanningIncludeByPattern IIncludesBuilder includesBuilder = AllAssemblies .Matching("NServiceBus") .And("MyCompany.") .And("SomethingElse"); Configure.With(includesBuilder); #endregion }
void ScanningIncludeByPattern(BusConfiguration busConfiguration) { #region ScanningIncludeByPattern IIncludesBuilder includesBuilder = AllAssemblies .Matching("NServiceBus") .And("MyCompany.") .And("SomethingElse"); busConfiguration.AssembliesToScan(includesBuilder); #endregion }