public void assert_no_type_scanning_failures_happy_path() { TypeRepository.ClearAll(); TypeRepository.FindTypes(GetType().GetTypeInfo().Assembly, TypeClassification.All).Wait(); // SAMPLE: assert-no-type-scanning-failures TypeRepository.AssertNoTypeScanningFailures(); // ENDSAMPLE }
public void assert_no_type_scanning_failures_happy_path() { TypeRepository.ClearAll(); TypeRepository.FindTypes(GetType().GetAssembly(), TypeClassification.All).Wait(); #region sample_assert-no-type-scanning-failures TypeRepository.AssertNoTypeScanningFailures(); #endregion }
public bootstrapping_end_to_end() { TypeRepository.ClearAll(); var registry = new JasperRegistry(); registry.Http.Actions.ExcludeTypes(_ => _.IsInNamespace("Jasper.Bus")); registry.Handlers.ExcludeTypes(x => true); registry.Services.AddTransient <IWriterRule, CustomWriterRule>(); registry.Services.AddTransient <IReaderRule, CustomReaderRule>(); theRuntime = JasperRuntime.For(registry); }