SYMBOL INDEX (1064 symbols across 145 files) FILE: samples/MediatR.Examples.AspNetCore/Program.cs class Program (line 10) | public static class Program method Main (line 12) | public static Task Main(string[] args) method BuildMediator (line 19) | private static IMediator BuildMediator(WrappingWriter writer) FILE: samples/MediatR.Examples.Autofac/Program.cs class Program (line 13) | internal static class Program method Main (line 15) | public static Task Main(string[] args) method BuildMediator (line 23) | private static IMediator BuildMediator(WrappingWriter writer) FILE: samples/MediatR.Examples.DryIoc/Program.cs class Program (line 10) | class Program method Main (line 12) | static Task Main() method BuildMediator (line 20) | private static IMediator BuildMediator(WrappingWriter writer) FILE: samples/MediatR.Examples.Lamar/Program.cs class Program (line 9) | class Program method Main (line 11) | static Task Main(string[] args) method BuildMediator (line 19) | private static IMediator BuildMediator(WrappingWriter writer) FILE: samples/MediatR.Examples.LightInject/Program.cs class Program (line 12) | class Program method Main (line 14) | static Task Main(string[] args) method BuildMediator (line 22) | private static IMediator BuildMediator(WrappingWriter writer) FILE: samples/MediatR.Examples.PublishStrategies/AsyncPingedHandler.cs class AsyncPingedHandler (line 7) | public class AsyncPingedHandler : INotificationHandler method AsyncPingedHandler (line 9) | public AsyncPingedHandler(string name) method Handle (line 16) | public async Task Handle(Pinged notification, CancellationToken cancel... FILE: samples/MediatR.Examples.PublishStrategies/CustomMediator.cs class CustomMediator (line 8) | public class CustomMediator : Mediator method CustomMediator (line 12) | public CustomMediator(IServiceProvider serviceFactory, Func(TNotification notification) method Publish (line 33) | public Task Publish(TNotification notification, Publish... method Publish (line 38) | public Task Publish(TNotification notification, Cancell... method Publish (line 43) | public Task Publish(TNotification notification, Publish... method ParallelWhenAll (line 53) | private Task ParallelWhenAll(IEnumerable ... method ParallelWhenAny (line 65) | private Task ParallelWhenAny(IEnumerable ... method ParallelNoWait (line 77) | private Task ParallelNoWait(IEnumerable h... method AsyncContinueOnException (line 87) | private async Task AsyncContinueOnException(IEnumerable method SyncPingedHandler (line 9) | public SyncPingedHandler(string name) method Handle (line 16) | public Task Handle(Pinged notification, CancellationToken cancellation... FILE: samples/MediatR.Examples.SimpleInjector/Program.cs class Program (line 14) | internal static class Program method Main (line 16) | private static Task Main(string[] args) method BuildMediator (line 24) | private static IMediator BuildMediator(WrappingWriter writer) method RegisterHandlers (line 69) | private static void RegisterHandlers(Container container, Type collect... method GetAssemblies (line 81) | private static IEnumerable GetAssemblies() FILE: samples/MediatR.Examples.Stashbox/Program.cs class Program (line 10) | class Program method Main (line 12) | static Task Main() method BuildMediator (line 19) | private static IMediator BuildMediator(WrappingWriter writer) FILE: samples/MediatR.Examples.Windsor/ContravariantFilter.cs class ContravariantFilter (line 8) | public class ContravariantFilter : IHandlersFilter method HasOpinionAbout (line 10) | public bool HasOpinionAbout(Type service) method SelectHandlers (line 21) | public IHandler[] SelectHandlers(Type service, IHandler[] handlers) FILE: samples/MediatR.Examples.Windsor/Program.cs class Program (line 16) | internal class Program method Main (line 18) | private static Task Main(string[] args) method BuildMediator (line 26) | private static IMediator BuildMediator(WrappingWriter writer) method ResolveRequestExceptionHandler (line 89) | private static object ResolveRequestExceptionHandler(IKernel k, Type t... method ResolveRequestExceptionAction (line 125) | private static object ResolveRequestExceptionAction(IKernel k, Type ty... method CreateArraysOutOfResolvedTypeAndEnumerableInterfaceTypes (line 160) | private static Array CreateArraysOutOfResolvedTypeAndEnumerableInterfa... FILE: samples/MediatR.Examples/ConstrainedRequestPostProcessor.cs class ConstrainedRequestPostProcessor (line 8) | public class ConstrainedRequestPostProcessor method ConstrainedRequestPostProcessor (line 14) | public ConstrainedRequestPostProcessor(TextWriter writer) method Process (line 19) | public Task Process(TRequest request, TResponse response, Cancellation... FILE: samples/MediatR.Examples/ExceptionHandler/Exceptions.cs class ConnectionException (line 5) | public class ConnectionException : Exception { } class ForbiddenException (line 7) | public class ForbiddenException : ConnectionException { } class ResourceNotFoundException (line 9) | public class ResourceNotFoundException : ConnectionException { } class ServerException (line 11) | public class ServerException : Exception { } FILE: samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlers.cs class CommonExceptionHandler (line 9) | public class CommonExceptionHandler : IRequestExceptionHandler _writer = writer; method Handle (line 15) | public async Task Handle(PingResource request, class ConnectionExceptionHandler (line 28) | public class ConnectionExceptionHandler : IRequestExceptionHandler _writer = writer; method Handle (line 34) | public async Task Handle(PingResource request, class AccessDeniedExceptionHandler (line 47) | public class AccessDeniedExceptionHandler : IRequestExceptionHandler _writer = wr... method Handle (line 53) | public async Task Handle(PingResource request, class ServerExceptionHandler (line 66) | public class ServerExceptionHandler : IRequestExceptionHandler _writer = writer; method Handle (line 72) | public virtual async Task Handle(PingNewResource request, FILE: samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlersOverrides.cs class CommonExceptionHandler (line 9) | public class CommonExceptionHandler : IRequestExceptionHandler _writer = writer; method Handle (line 15) | public async Task Handle(PingResourceTimeout request, class ServerExceptionHandler (line 28) | public class ServerExceptionHandler : ExceptionHandler.ServerExceptionHa... method ServerExceptionHandler (line 32) | public ServerExceptionHandler(TextWriter writer) : base(writer) => _wr... method Handle (line 34) | public override async Task Handle(PingNewResource request, FILE: samples/MediatR.Examples/ExceptionHandler/Handlers.cs class PingResourceHandler (line 7) | public class PingResourceHandler : IRequestHandler method PingResourceHandler (line 11) | public PingResourceHandler(TextWriter writer) => _writer = writer; method Handle (line 13) | public Task Handle(PingResource request, CancellationToken cance... class PingNewResourceHandler (line 19) | public class PingNewResourceHandler : IRequestHandler _writer = writer; method Handle (line 25) | public Task Handle(PingNewResource request, CancellationToken ca... class PingResourceTimeoutHandler (line 31) | public class PingResourceTimeoutHandler : IRequestHandler _writer = writer; method Handle (line 37) | public Task Handle(PingResourceTimeout request, CancellationToke... class PingResourceTimeoutOverrideHandler (line 43) | public class PingResourceTimeoutOverrideHandler : IRequestHandler _write... method Handle (line 49) | public Task Handle(Overrides.PingResourceTimeout request, Cancel... class PingProtectedResourceHandler (line 55) | public class PingProtectedResourceHandler : IRequestHandler _writer = wr... method Handle (line 61) | public Task Handle(PingProtectedResource request, CancellationTo... FILE: samples/MediatR.Examples/ExceptionHandler/LogExceptionAction.cs class LogExceptionAction (line 9) | public class LogExceptionAction : IRequestExceptionAction method LogExceptionAction (line 13) | public LogExceptionAction(TextWriter writer) => _writer = writer; method Execute (line 15) | public Task Execute(Ping request, Exception exception, CancellationTok... FILE: samples/MediatR.Examples/ExceptionHandler/Requests.cs class PingResource (line 3) | public class PingResource : Ping { } class PingNewResource (line 5) | public class PingNewResource : Ping { } class PingResourceTimeout (line 7) | public class PingResourceTimeout : PingResource { } class PingProtectedResource (line 9) | public class PingProtectedResource : PingResource { } FILE: samples/MediatR.Examples/ExceptionHandler/RequestsOverrides.cs class PingResourceTimeout (line 3) | public class PingResourceTimeout : ExceptionHandler.PingResourceTimeout { } FILE: samples/MediatR.Examples/GenericHandler.cs class GenericHandler (line 7) | public class GenericHandler : INotificationHandler method GenericHandler (line 11) | public GenericHandler(TextWriter writer) method Handle (line 16) | public Task Handle(INotification notification, CancellationToken cance... FILE: samples/MediatR.Examples/GenericPipelineBehavior.cs class GenericPipelineBehavior (line 7) | public class GenericPipelineBehavior : IPipelineBeh... method GenericPipelineBehavior (line 11) | public GenericPipelineBehavior(TextWriter writer) method Handle (line 16) | public async Task Handle(TRequest request, RequestHandlerDe... FILE: samples/MediatR.Examples/GenericRequestPostProcessor.cs class GenericRequestPostProcessor (line 8) | public class GenericRequestPostProcessor : IRequest... method GenericRequestPostProcessor (line 12) | public GenericRequestPostProcessor(TextWriter writer) method Process (line 17) | public Task Process(TRequest request, TResponse response, Cancellation... FILE: samples/MediatR.Examples/GenericRequestPreProcessor.cs class GenericRequestPreProcessor (line 8) | public class GenericRequestPreProcessor : IRequestPreProcessor... method GenericRequestPreProcessor (line 12) | public GenericRequestPreProcessor(TextWriter writer) method Process (line 17) | public Task Process(TRequest request, CancellationToken cancellationTo... FILE: samples/MediatR.Examples/Jing.cs class Jing (line 3) | public class Jing : IRequest FILE: samples/MediatR.Examples/JingHandler.cs class JingHandler (line 7) | public class JingHandler : IRequestHandler method JingHandler (line 11) | public JingHandler(TextWriter writer) method Handle (line 16) | public Task Handle(Jing request, CancellationToken cancellationToken) FILE: samples/MediatR.Examples/Ping.cs class Ping (line 3) | public class Ping : IRequest FILE: samples/MediatR.Examples/PingHandler.cs class PingHandler (line 8) | public class PingHandler : IRequestHandler method PingHandler (line 12) | public PingHandler(TextWriter writer) method Handle (line 17) | public async Task Handle(Ping request, CancellationToken cancell... FILE: samples/MediatR.Examples/Pinged.cs class Pinged (line 3) | public class Pinged : INotification FILE: samples/MediatR.Examples/PingedHandler.cs class PingedHandler (line 8) | public class PingedHandler : INotificationHandler method PingedHandler (line 12) | public PingedHandler(TextWriter writer) method Handle (line 17) | public Task Handle(Pinged notification, CancellationToken cancellation... class PongedHandler (line 23) | public class PongedHandler : INotificationHandler method PongedHandler (line 27) | public PongedHandler(TextWriter writer) method Handle (line 32) | public Task Handle(Ponged notification, CancellationToken cancellation... class ConstrainedPingedHandler (line 38) | public class ConstrainedPingedHandler : INotificationHand... method ConstrainedPingedHandler (line 43) | public ConstrainedPingedHandler(TextWriter writer) method Handle (line 48) | public Task Handle(TNotification notification, CancellationToken cance... class PingedAlsoHandler (line 54) | public class PingedAlsoHandler : INotificationHandler method PingedAlsoHandler (line 58) | public PingedAlsoHandler(TextWriter writer) method Handle (line 63) | public Task Handle(Pinged notification, CancellationToken cancellation... FILE: samples/MediatR.Examples/Pong.cs class Pong (line 3) | public class Pong FILE: samples/MediatR.Examples/Ponged.cs class Ponged (line 3) | public class Ponged : INotification FILE: samples/MediatR.Examples/Runner.cs class Runner (line 11) | public static class Runner method Run (line 13) | public static async Task Run(IMediator mediator, WrappingWriter writer... method IsHandlerForSameExceptionWorks (line 182) | private static async Task IsHandlerForSameExceptionWorks(IMediat... method IsHandlerForBaseExceptionWorks (line 201) | private static async Task IsHandlerForBaseExceptionWorks(IMediat... method IsHandlerForLessSpecificExceptionWorks (line 220) | private static async Task IsHandlerForLessSpecificExceptionWorks... method IsPreferredHandlerForBaseExceptionWorks (line 239) | private static async Task IsPreferredHandlerForBaseExceptionWork... method IsOverriddenHandlerForBaseExceptionWorks (line 259) | private static async Task IsOverriddenHandlerForBaseExceptionWor... method IsExceptionHandledBy (line 279) | private static bool IsExceptionHandledBy(Wrappin... class RunResults (line 293) | public class RunResults class WrappingWriter (line 318) | public class WrappingWriter : TextWriter method WrappingWriter (line 323) | public WrappingWriter(TextWriter innerWriter) method Write (line 328) | public override void Write(char value) method WriteLineAsync (line 334) | public override Task WriteLineAsync(string value) FILE: samples/MediatR.Examples/Streams/GenericStreamPipelineBehavior.cs class GenericStreamPipelineBehavior (line 9) | public class GenericStreamPipelineBehavior : IStrea... method GenericStreamPipelineBehavior (line 13) | public GenericStreamPipelineBehavior(TextWriter writer) method Handle (line 18) | public async IAsyncEnumerable Handle(TRequest request, Stre... FILE: samples/MediatR.Examples/Streams/Sing.cs class Sing (line 3) | public class Sing : IStreamRequest FILE: samples/MediatR.Examples/Streams/SingHandler.cs class SingHandler (line 9) | public class SingHandler : IStreamRequestHandler method SingHandler (line 13) | public SingHandler(TextWriter writer) method Handle (line 18) | public async IAsyncEnumerable Handle(Sing request, [EnumeratorCa... FILE: samples/MediatR.Examples/Streams/Song.cs class Song (line 3) | public class Song FILE: src/MediatR.Contracts/INotification.cs type INotification (line 6) | public interface INotification { } FILE: src/MediatR.Contracts/IRequest.cs type IRequest (line 6) | public interface IRequest : IBaseRequest { } type IRequest (line 12) | public interface IRequest : IBaseRequest { } type IBaseRequest (line 17) | public interface IBaseRequest { } FILE: src/MediatR.Contracts/IStreamRequest.cs type IStreamRequest (line 7) | public interface IStreamRequest { } FILE: src/MediatR.Contracts/Unit.cs type Unit (line 9) | public readonly struct Unit : IEquatable, IComparable, IComp... method CompareTo (line 34) | public int CompareTo(Unit other) => 0; method CompareTo (line 47) | int IComparable.CompareTo(object? obj) => 0; method GetHashCode (line 55) | public override int GetHashCode() => 0; method Equals (line 64) | public bool Equals(Unit other) => true; method Equals (line 73) | public override bool Equals(object? obj) => obj is Unit; method ToString (line 95) | public override string ToString() => "()"; FILE: src/MediatR/Entities/OpenBehavior.cs class OpenBehavior (line 9) | public class OpenBehavior method OpenBehavior (line 18) | public OpenBehavior(Type openBehaviorType, ServiceLifetime serviceLife... method ValidatePipelineBehaviorType (line 41) | private static void ValidatePipelineBehaviorType(Type openBehaviorType) FILE: src/MediatR/IMediator.cs type IMediator (line 6) | public interface IMediator : ISender, IPublisher FILE: src/MediatR/INotificationHandler.cs type INotificationHandler (line 10) | public interface INotificationHandler method Handle (line 18) | Task Handle(TNotification notification, CancellationToken cancellation... class NotificationHandler (line 25) | public abstract class NotificationHandler : INotification... method Handle (line 28) | Task INotificationHandler.Handle(TNotification notifica... method Handle (line 39) | protected abstract void Handle(TNotification notification); FILE: src/MediatR/INotificationPublisher.cs type INotificationPublisher (line 7) | public interface INotificationPublisher method Publish (line 9) | Task Publish(IEnumerable handlerExecutors... FILE: src/MediatR/IPipelineBehavior.cs type IPipelineBehavior (line 20) | public interface IPipelineBehavior where TReques... method Handle (line 29) | Task Handle(TRequest request, RequestHandlerDelegate(TNotification notification, CancellationTo... FILE: src/MediatR/IRequestHandler.cs type IRequestHandler (line 11) | public interface IRequestHandler method Handle (line 20) | Task Handle(TRequest request, CancellationToken cancellatio... method Handle (line 36) | Task Handle(TRequest request, CancellationToken cancellationToken); type IRequestHandler (line 27) | public interface IRequestHandler method Handle (line 20) | Task Handle(TRequest request, CancellationToken cancellatio... method Handle (line 36) | Task Handle(TRequest request, CancellationToken cancellationToken); FILE: src/MediatR/ISender.cs type ISender (line 10) | public interface ISender method Send (line 19) | Task Send(IRequest request, Cancellat... method Send (line 27) | Task Send(TRequest request, CancellationToken cancellationTo... method Send (line 36) | Task Send(object request, CancellationToken cancellationToken... method CreateStream (line 45) | IAsyncEnumerable CreateStream(IStreamRequest CreateStream(object request, CancellationTok... FILE: src/MediatR/IStreamPipelineBehavior.cs type IStreamPipelineBehavior (line 20) | public interface IStreamPipelineBehavior where T... method Handle (line 29) | IAsyncEnumerable Handle(TRequest request, StreamHandlerDele... FILE: src/MediatR/IStreamRequestHandler.cs type IStreamRequestHandler (line 11) | public interface IStreamRequestHandler method Handle (line 20) | IAsyncEnumerable Handle(TRequest request, CancellationToken... FILE: src/MediatR/Internal/HandlersOrderer.cs class HandlersOrderer (line 7) | internal static class HandlersOrderer method Prioritize (line 9) | public static IList Prioritize(IList handler... method RemoveOverridden (line 26) | private static IEnumerable RemoveOverridden(IList method ObjectDetails (line 20) | public ObjectDetails(object value) method Compare (line 31) | public int Compare(ObjectDetails? x, ObjectDetails? y) method CompareByAssembly (line 56) | private int? CompareByAssembly(ObjectDetails x, ObjectDetails y) method CompareByNamespace (line 85) | private int? CompareByNamespace(ObjectDetails x, ObjectDetails y) method CompareByLocation (line 119) | private int CompareByLocation(ObjectDetails x, ObjectDetails y) FILE: src/MediatR/Licensing/BuildInfo.cs class BuildInfo (line 7) | internal static class BuildInfo method GetBuildDate (line 11) | private static DateTimeOffset? GetBuildDate() FILE: src/MediatR/Licensing/Edition.cs type Edition (line 3) | internal enum Edition FILE: src/MediatR/Licensing/License.cs class License (line 7) | internal class License method License (line 9) | internal License(params Claim[] claims) : this(new ClaimsPrincipal(new... method License (line 14) | public License(ClaimsPrincipal claims) FILE: src/MediatR/Licensing/LicenseAccessor.cs class LicenseAccessor (line 14) | internal class LicenseAccessor method LicenseAccessor (line 19) | public LicenseAccessor(MediatRServiceConfiguration configuration, ILog... method LicenseAccessor (line 25) | public LicenseAccessor(ILoggerFactory loggerFactory) method Initialize (line 35) | private License Initialize() method ValidateKey (line 60) | private Claim[] ValidateKey(string licenseKey) FILE: src/MediatR/Licensing/LicenseValidator.cs class LicenseValidator (line 7) | internal class LicenseValidator method LicenseValidator (line 12) | public LicenseValidator(ILoggerFactory loggerFactory) : this(loggerFac... method LicenseValidator (line 16) | public LicenseValidator(ILoggerFactory loggerFactory, DateTimeOffset? ... method Validate (line 22) | public void Validate(License license) FILE: src/MediatR/Licensing/ProductType.cs type ProductType (line 3) | internal enum ProductType FILE: src/MediatR/Mediator.cs class Mediator (line 17) | public class Mediator : IMediator method Mediator (line 29) | public Mediator(IServiceProvider serviceProvider) method Mediator (line 37) | public Mediator(IServiceProvider serviceProvider, INotificationPublish... method Send (line 50) | public Task Send(IRequest request, Ca... method Send (line 67) | public Task Send(TRequest request, CancellationToken cancell... method Send (line 85) | public Task Send(object request, CancellationToken cancellati... method Publish (line 121) | public Task Publish(TNotification notification, Cancell... method Publish (line 132) | public Task Publish(object notification, CancellationToken cancellatio... method PublishCore (line 147) | protected virtual Task PublishCore(IEnumerable CreateStream(IStreamRequ... method CreateStream (line 183) | public IAsyncEnumerable CreateStream(object request, Cancella... FILE: src/MediatR/MicrosoftExtensionsDI/MediatRServiceCollectionExtensions.cs class MediatRServiceCollectionExtensions (line 20) | public static class MediatRServiceCollectionExtensions method AddMediatR (line 28) | public static IServiceCollection AddMediatR(this IServiceCollection se... method AddMediatR (line 44) | public static IServiceCollection AddMediatR(this IServiceCollection se... method CheckLicense (line 61) | internal static void CheckLicense(this IServiceProvider serviceProvider) FILE: src/MediatR/MicrosoftExtensionsDI/MediatrServiceConfiguration.cs class MediatRServiceConfiguration (line 13) | public class MediatRServiceConfiguration method RegisterServicesFromAssemblyContaining (line 108) | public MediatRServiceConfiguration RegisterServicesFromAssemblyContain... method RegisterServicesFromAssemblyContaining (line 116) | public MediatRServiceConfiguration RegisterServicesFromAssemblyContain... method RegisterServicesFromAssembly (line 124) | public MediatRServiceConfiguration RegisterServicesFromAssembly(Assemb... method RegisterServicesFromAssemblies (line 136) | public MediatRServiceConfiguration RegisterServicesFromAssemblies( method AddBehavior (line 151) | public MediatRServiceConfiguration AddBehavior(Se... method AddBehavior (line 171) | public MediatRServiceConfiguration AddBehavior(Type implementationType... method AddBehavior (line 195) | public MediatRServiceConfiguration AddBehavior(Type serviceType, Type ... method AddOpenBehavior (line 208) | public MediatRServiceConfiguration AddOpenBehavior(Type openBehaviorTy... method AddOpenBehaviors (line 237) | public MediatRServiceConfiguration AddOpenBehaviors(IEnumerable ... method AddOpenBehaviors (line 252) | public MediatRServiceConfiguration AddOpenBehaviors(IEnumerable han... FILE: src/MediatR/NotificationPublishers/TaskWhenAllPublisher.cs class TaskWhenAllPublisher (line 18) | public class TaskWhenAllPublisher : INotificationPublisher method Publish (line 20) | public Task Publish(IEnumerable handlerEx... FILE: src/MediatR/Pipeline/IRequestExceptionAction.cs type IRequestExceptionAction (line 12) | public interface IRequestExceptionAction method Execute (line 23) | Task Execute(TRequest request, TException exception, CancellationToken... FILE: src/MediatR/Pipeline/IRequestExceptionHandler.cs type IRequestExceptionHandler (line 13) | public interface IRequestExceptionHandler where ... method Process (line 20) | Task Process(TRequest request, TResponse response, CancellationToken c... FILE: src/MediatR/Pipeline/IRequestPreProcessor.cs type IRequestPreProcessor (line 10) | public interface IRequestPreProcessor where TRequest : notnull method Process (line 18) | Task Process(TRequest request, CancellationToken cancellationToken); FILE: src/MediatR/Pipeline/RequestExceptionActionProcessorBehavior.cs class RequestExceptionActionProcessorBehavior (line 19) | public class RequestExceptionActionProcessorBehavior Handle(TRequest request, RequestHandlerDe... method GetExceptionTypes (line 61) | private static IEnumerable GetExceptionTypes(Type? exceptionType) method GetActionsForException (line 70) | private IEnumerable<(Type ExceptionType, object Action)> GetActionsFor... method GetMethodInfoForAction (line 81) | private static MethodInfo GetMethodInfoForAction(Type exceptionType) FILE: src/MediatR/Pipeline/RequestExceptionHandlerState.cs class RequestExceptionHandlerState (line 7) | public class RequestExceptionHandlerState method SetHandled (line 23) | public void SetHandled(TResponse response) FILE: src/MediatR/Pipeline/RequestExceptionProcessorBehavior.cs class RequestExceptionProcessorBehavior (line 19) | public class RequestExceptionProcessorBehavior : IP... method RequestExceptionProcessorBehavior (line 24) | public RequestExceptionProcessorBehavior(IServiceProvider serviceProvi... method Handle (line 26) | public async Task Handle(TRequest request, RequestHandlerDe... method GetExceptionTypes (line 77) | private static IEnumerable GetExceptionTypes(Type? exceptionType) method GetHandlersForException (line 86) | private IEnumerable<(Type ExceptionType, object Handler)> GetHandlersF... method GetMethodInfoForHandler (line 97) | private static MethodInfo GetMethodInfoForHandler(Type exceptionType) FILE: src/MediatR/Pipeline/RequestPostProcessorBehavior.cs class RequestPostProcessorBehavior (line 12) | public class RequestPostProcessorBehavior : IPipeli... method RequestPostProcessorBehavior (line 17) | public RequestPostProcessorBehavior(IEnumerable Handle(TRequest request, RequestHandlerDe... FILE: src/MediatR/Pipeline/RequestPreProcessorBehavior.cs class RequestPreProcessorBehavior (line 12) | public class RequestPreProcessorBehavior : IPipelin... method RequestPreProcessorBehavior (line 17) | public RequestPreProcessorBehavior(IEnumerable Handle(TRequest request, RequestHandlerDe... FILE: src/MediatR/Registration/ServiceRegistrar.cs class ServiceRegistrar (line 14) | public static class ServiceRegistrar method SetGenericRequestHandlerRegistrationLimitations (line 21) | public static void SetGenericRequestHandlerRegistrationLimitations(Med... method AddMediatRClassesWithTimeout (line 29) | public static void AddMediatRClassesWithTimeout(IServiceCollection ser... method AddMediatRClasses (line 44) | public static void AddMediatRClasses(IServiceCollection services, Medi... method ConnectImplementationsToTypesClosing (line 94) | private static void ConnectImplementationsToTypesClosing(Type openRequ... method IsMatchingWithInterface (line 172) | private static bool IsMatchingWithInterface(Type? handlerType, Type ha... method AddConcretionsThatCouldBeClosed (line 194) | private static void AddConcretionsThatCouldBeClosed(Type @interface, L... method GetConcreteRegistrationTypes (line 209) | private static (Type Service, Type Implementation) GetConcreteRegistra... method GetConcreteRequestTypes (line 227) | private static List? GetConcreteRequestTypes(Type openRequestHan... method GenerateCombinations (line 254) | public static List> GenerateCombinations(Type requestType, ... method AddAllConcretionsThatClose (line 300) | private static void AddAllConcretionsThatClose(Type openRequestInterfa... method CouldCloseTo (line 320) | internal static bool CouldCloseTo(this Type openConcretion, Type close... method CanBeCastTo (line 329) | private static bool CanBeCastTo(this Type pluggedType, Type pluginType) method IsOpenGeneric (line 338) | private static bool IsOpenGeneric(this Type type) method FindInterfacesThatClose (line 343) | internal static IEnumerable FindInterfacesThatClose(this Type pl... method FindInterfacesThatClosesCore (line 348) | private static IEnumerable FindInterfacesThatClosesCore(Type plu... method IsConcrete (line 378) | private static bool IsConcrete(this Type type) method Fill (line 383) | private static void Fill(this IList list, T value) method GetLoadableDefinedTypes (line 389) | private static IEnumerable GetLoadableDefinedTypes(this Assembly... method HasNestedGenericResponseType (line 401) | private static bool HasNestedGenericResponseType(Type openBehaviorType) method TryMatchType (line 409) | private static bool TryMatchType(Type pattern, Type concrete, Dictiona... method RegisterClosedBehaviorsFromAssemblies (line 428) | private static void RegisterClosedBehaviorsFromAssemblies( method AddRequiredServices (line 464) | public static void AddRequiredServices(IServiceCollection services, Me... method RegisterBehaviorIfImplementationsExist (line 550) | private static void RegisterBehaviorIfImplementationsExist(IServiceCol... FILE: src/MediatR/Wrappers/NotificationHandlerWrapper.cs class NotificationHandlerWrapper (line 10) | public abstract class NotificationHandlerWrapper method Handle (line 12) | public abstract Task Handle(INotification notification, IServiceProvid... class NotificationHandlerWrapperImpl (line 17) | public class NotificationHandlerWrapperImpl : Notificatio... method Handle (line 20) | public override Task Handle(INotification notification, IServiceProvid... FILE: src/MediatR/Wrappers/RequestHandlerWrapper.cs class RequestHandlerBase (line 9) | public abstract class RequestHandlerBase method Handle (line 11) | public abstract Task Handle(object request, IServiceProvider ... class RequestHandlerWrapper (line 15) | public abstract class RequestHandlerWrapper : RequestHandlerBase method Handle (line 17) | public abstract Task Handle(IRequest request, IS... method Handle (line 23) | public abstract Task Handle(IRequest request, IServiceProvider s... class RequestHandlerWrapper (line 21) | public abstract class RequestHandlerWrapper : RequestHandlerBase method Handle (line 17) | public abstract Task Handle(IRequest request, IS... method Handle (line 23) | public abstract Task Handle(IRequest request, IServiceProvider s... class RequestHandlerWrapperImpl (line 27) | public class RequestHandlerWrapperImpl : RequestHan... method Handle (line 30) | public override async Task Handle(object request, IServicePro... method Handle (line 34) | public override Task Handle(IRequest request, IS... method Handle (line 51) | public override async Task Handle(object request, IServicePro... method Handle (line 55) | public override Task Handle(IRequest request, IServiceProvider s... class RequestHandlerWrapperImpl (line 48) | public class RequestHandlerWrapperImpl : RequestHandlerWrapper method Handle (line 30) | public override async Task Handle(object request, IServicePro... method Handle (line 34) | public override Task Handle(IRequest request, IS... method Handle (line 51) | public override async Task Handle(object request, IServicePro... method Handle (line 55) | public override Task Handle(IRequest request, IServiceProvider s... FILE: src/MediatR/Wrappers/StreamRequestHandlerWrapper.cs class StreamRequestHandlerBase (line 12) | internal abstract class StreamRequestHandlerBase method Handle (line 14) | public abstract IAsyncEnumerable Handle(object request, IServ... class StreamRequestHandlerWrapper (line 17) | internal abstract class StreamRequestHandlerWrapper : StreamR... method Handle (line 19) | public abstract IAsyncEnumerable Handle( class StreamRequestHandlerWrapperImpl (line 25) | internal class StreamRequestHandlerWrapperImpl method Handle (line 29) | public override async IAsyncEnumerable Handle(object request,... method Handle (line 37) | public override async IAsyncEnumerable Handle(IStreamReques... method NextWrapper (line 64) | private static async IAsyncEnumerable NextWrapper( FILE: test/MediatR.Benchmarks/Benchmarks.cs class Benchmarks (line 8) | [DotTraceDiagnoser] method GlobalSetup (line 15) | [GlobalSetup] method SendingRequests (line 33) | [Benchmark] method PublishingNotifications (line 39) | [Benchmark] FILE: test/MediatR.Benchmarks/DotTraceDiagnoser.cs class DotTraceDiagnoserAttribute (line 18) | internal sealed class DotTraceDiagnoserAttribute : Attribute, IConfigSource method DotTraceDiagnoserAttribute (line 20) | public DotTraceDiagnoserAttribute() class DotTraceDiagnoser (line 30) | internal sealed class DotTraceDiagnoser : IDiagnoser method DotTraceDiagnoser (line 37) | public DotTraceDiagnoser() method GetRunMode (line 43) | public RunMode GetRunMode(BenchmarkCase benchmarkCase) => RunMode.Extr... method Handle (line 46) | public void Handle(HostSignal signal, DiagnoserActionParameters parame... method RunDotTrace (line 72) | private void RunDotTrace(DiagnoserActionParameters parameters) method PrepareProcessStartInfo (line 86) | private ProcessStartInfo PrepareProcessStartInfo(DiagnoserActionParame... method ProcessResults (line 101) | public IEnumerable ProcessResults(DiagnoserResults results) =>... method DisplayResults (line 104) | public void DisplayResults(ILogger logger) { } method Validate (line 107) | public IEnumerable Validate(ValidationParameters vali... method CanRunDotTrace (line 118) | private static bool CanRunDotTrace() FILE: test/MediatR.Benchmarks/GenericPipelineBehavior.cs class GenericPipelineBehavior (line 7) | public class GenericPipelineBehavior : IPipelineBeh... method GenericPipelineBehavior (line 12) | public GenericPipelineBehavior(TextWriter writer) method Handle (line 17) | public async Task Handle(TRequest request, RequestHandlerDe... FILE: test/MediatR.Benchmarks/GenericRequestPostProcessor.cs class GenericRequestPostProcessor (line 8) | public class GenericRequestPostProcessor : IRequest... method GenericRequestPostProcessor (line 13) | public GenericRequestPostProcessor(TextWriter writer) method Process (line 18) | public Task Process(TRequest request, TResponse response, Cancellation... FILE: test/MediatR.Benchmarks/GenericRequestPreProcessor.cs class GenericRequestPreProcessor (line 8) | public class GenericRequestPreProcessor : IRequestPreProcessor... method GenericRequestPreProcessor (line 13) | public GenericRequestPreProcessor(TextWriter writer) method Process (line 18) | public Task Process(TRequest request, CancellationToken cancellationTo... FILE: test/MediatR.Benchmarks/Ping.cs class Ping (line 6) | public class Ping : IRequest class PingHandler (line 11) | public class PingHandler : IRequestHandler method Handle (line 13) | public Task Handle(Ping request, CancellationToken cancellationToken) ... FILE: test/MediatR.Benchmarks/Pinged.cs class Pinged (line 6) | public class Pinged : INotification class PingedHandler (line 10) | public class PingedHandler : INotificationHandler method Handle (line 12) | public Task Handle(Pinged notification, CancellationToken cancellation... FILE: test/MediatR.Benchmarks/Program.cs class Program (line 5) | public class Program method Main (line 7) | public static void Main(string[] args) => BenchmarkSwitcher.FromAssemb... FILE: test/MediatR.DependencyInjectionTests/Abstractions/BaseAssemblyResolutionTests.cs class BaseAssemblyResolutionTests (line 7) | public abstract class BaseAssemblyResolutionTests(BaseServiceProviderFix... method Should_Resolve_Mediator (line 11) | [Fact] method Should_Resolve_Public_RequestHandler (line 16) | [Fact] method Should_Resolve_Internal_RequestHandler (line 21) | [Fact] method Should_Resolve_Private_RequestHandler (line 26) | [Fact] method Should_Resolve_Public_Void_RequestHandler (line 31) | [Fact] method Should_Resolve_Internal_Void_RequestHandler (line 36) | [Fact] method Should_Resolve_Private_Void_RequestHandler (line 41) | [Fact] method Should_Resolve_Public_Private_Internal_Notification_Handlers (line 46) | [Fact] method Should_Resolve_Public_Stream_Request_Handlers (line 52) | [Fact] method Should_Resolve_Internal_Stream_Request_Handlers (line 57) | [Fact] method Should_Resolve_Private_Stream_Request_Handlers (line 62) | [Fact] FILE: test/MediatR.DependencyInjectionTests/Abstractions/BaseServiceProviderFixture.cs class BaseServiceProviderFixture (line 3) | public class BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/AutoFacDependencyInjectionTests.cs class AutoFacDependencyInjectionTests (line 6) | public class AutoFacDependencyInjectionTests : BaseAssemblyResolutionTests method AutoFacDependencyInjectionTests (line 8) | public AutoFacDependencyInjectionTests() : base(new AutoFacServiceProv... FILE: test/MediatR.DependencyInjectionTests/Contracts/Notifications/Ding.cs type Ding (line 3) | public record Ding : INotification FILE: test/MediatR.DependencyInjectionTests/Contracts/Requests/InternalPing.cs type InternalPing (line 3) | internal record InternalPing : IRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/Requests/InternalVoidPing.cs type InternalVoidPing (line 3) | internal record InternalVoidPing : IRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/Requests/PrivatePing.cs type PrivatePing (line 3) | public record PrivatePing : IRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/Requests/PrivateVoidPing.cs type PrivateVoidPing (line 3) | public record PrivateVoidPing : IRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/Requests/PublicPing.cs type PublicPing (line 3) | public record PublicPing : IRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/Requests/PublicVoidPing.cs type PublicVoidPing (line 3) | public record PublicVoidPing : IRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/Responses/Pong.cs type Pong (line 3) | public record Pong; type Zong (line 4) | public record Zong; FILE: test/MediatR.DependencyInjectionTests/Contracts/StreamRequests/InternalZing.cs type InternalZing (line 3) | internal record InternalZing : IStreamRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/StreamRequests/PrivateZing.cs type PrivateZing (line 3) | internal record PrivateZing : IStreamRequest FILE: test/MediatR.DependencyInjectionTests/Contracts/StreamRequests/PublicZing.cs type PublicZing (line 3) | public record PublicZing : IStreamRequest FILE: test/MediatR.DependencyInjectionTests/MicrosoftDependencyInjectionTests.cs class MicrosoftDependencyInjectionTests (line 6) | public class MicrosoftDependencyInjectionTests : BaseAssemblyResolutionT... method MicrosoftDependencyInjectionTests (line 8) | public MicrosoftDependencyInjectionTests() : base(new MicrosoftService... FILE: test/MediatR.DependencyInjectionTests/Providers/AutoFacServiceProviderFixture.cs class AutoFacServiceProviderFixture (line 8) | public class AutoFacServiceProviderFixture : BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/Providers/DryIocServiceProviderFixture.cs class DryIocServiceProviderFixture (line 8) | public class DryIocServiceProviderFixture : BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/Providers/LamarServiceProviderFixture.cs class LamarServiceProviderFixture (line 7) | public class LamarServiceProviderFixture : BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/Providers/LightInjectServiceProviderFixture.cs class LightInjectServiceProviderFixture (line 8) | public class LightInjectServiceProviderFixture : BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/Providers/MicrosoftServiceProviderFixture.cs class MicrosoftServiceProviderFixture (line 6) | public class MicrosoftServiceProviderFixture : BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/Providers/StashBoxServiceProviderFixture.cs class StashBoxServiceProviderFixture (line 7) | public class StashBoxServiceProviderFixture : BaseServiceProviderFixture FILE: test/MediatR.DependencyInjectionTests/StashBoxDependencyInjectionTests.cs class StashBoxDependencyInjectionTests (line 6) | public class StashBoxDependencyInjectionTests : BaseAssemblyResolutionTests method StashBoxDependencyInjectionTests (line 8) | public StashBoxDependencyInjectionTests() : base(new StashBoxServicePr... FILE: test/MediatR.Tests/CreateStreamTests.cs class CreateStreamTests (line 12) | public class CreateStreamTests class Ping (line 15) | public class Ping : IStreamRequest class Pong (line 20) | public class Pong class PingStreamHandler (line 25) | public class PingStreamHandler : IStreamRequestHandler method Handle (line 27) | public async IAsyncEnumerable Handle(Ping request, [Enumerator... method Should_resolve_main_handler (line 33) | [Fact] method Should_resolve_main_handler_via_dynamic_dispatch (line 63) | [Fact] method Should_resolve_main_handler_by_specific_interface (line 94) | [Fact] method Should_raise_execption_on_null_request (line 123) | [Fact] method Should_raise_execption_on_null_request_via_dynamic_dispatch (line 136) | [Fact] FILE: test/MediatR.Tests/ExceptionTests.cs class ExceptionTests (line 10) | public class ExceptionTests class Ping (line 14) | public class Ping : IRequest class Pong (line 18) | public class Pong class VoidPing (line 22) | public class VoidPing : IRequest class Pinged (line 26) | public class Pinged : INotification class AsyncPing (line 30) | public class AsyncPing : IRequest class AsyncVoidPing (line 34) | public class AsyncVoidPing : IRequest class AsyncPinged (line 38) | public class AsyncPinged : INotification class NullPing (line 42) | public class NullPing : IRequest class VoidNullPing (line 46) | public class VoidNullPing : IRequest class NullPinged (line 50) | public class NullPinged : INotification class NullPingHandler (line 54) | public class NullPingHandler : IRequestHandler method Handle (line 56) | public Task Handle(NullPing request, CancellationToken cancell... class VoidNullPingHandler (line 62) | public class VoidNullPingHandler : IRequestHandler method Handle (line 64) | public Task Handle(VoidNullPing request, CancellationToken cancellat... method ExceptionTests (line 70) | public ExceptionTests() method Should_throw_for_send (line 79) | [Fact] method Should_throw_for_void_send (line 85) | [Fact] method Should_not_throw_for_publish (line 91) | [Fact] method Should_throw_for_async_send (line 106) | [Fact] method Should_throw_for_async_void_send (line 112) | [Fact] method Should_not_throw_for_async_publish (line 118) | [Fact] method Should_throw_argument_exception_for_send_when_request_is_null (line 133) | [Fact] method Should_throw_argument_exception_for_void_send_when_request_is_null (line 152) | [Fact] method Should_throw_argument_exception_for_publish_when_request_is_null (line 171) | [Fact] method Should_throw_argument_exception_for_publish_when_request_is_null_object (line 190) | [Fact] method Should_throw_argument_exception_for_publish_when_request_is_not_notification (line 209) | [Fact] class PingException (line 228) | public class PingException : IRequest class PingExceptionHandler (line 233) | public class PingExceptionHandler : IRequestHandler method Handle (line 235) | public Task Handle(PingException request, CancellationToken cancella... method Should_throw_exception_for_non_generic_send_when_exception_occurs (line 241) | [Fact] method Should_throw_exception_for_non_request_send (line 261) | [Fact] class NonRequest (line 281) | public class NonRequest method Should_throw_exception_for_generic_send_when_exception_occurs (line 286) | [Fact] FILE: test/MediatR.Tests/GenericRequestHandlerTests.cs class GenericRequestHandlerTests (line 6) | [Collection(nameof(ServiceFactoryCollectionBehavior))] method ShouldResolveAllCombinationsOfGenericHandler (line 10) | [Theory] method ShouldRegisterTheCorrectAmountOfHandlers (line 49) | [Theory] method ShouldNotRegisterDuplicateHandlers (line 65) | [Theory] method ShouldThrowExceptionWhenTypesClosingExceedsMaximum (line 86) | [Fact] method ShouldThrowExceptionWhenGenericHandlerRegistrationsExceedsMaximum (line 105) | [Fact] method ShouldThrowExceptionWhenGenericTypeParametersExceedsMaximum (line 124) | [Fact] method ShouldThrowExceptionWhenTimeoutOccurs (line 143) | [Fact] method ShouldNotRegisterGenericHandlersWhenOptingOut (line 166) | [Fact] FILE: test/MediatR.Tests/GenericTypeConstraintsTests.cs class GenericTypeConstraintsTests (line 12) | public class GenericTypeConstraintsTests type IGenericTypeRequestHandlerTestClass (line 14) | public interface IGenericTypeRequestHandlerTestClass where T... method Handle (line 16) | Type[] Handle(TRequest request); class GenericTypeRequestHandlerTestClass (line 19) | public abstract class GenericTypeRequestHandlerTestClass : I... method GenericTypeRequestHandlerTestClass (line 29) | public GenericTypeRequestHandlerTestClass() method Handle (line 39) | public Type[] Handle(TRequest request) class GenericTypeConstraintPing (line 45) | public class GenericTypeConstraintPing : GenericTypeRequestHandlerTest... class GenericTypeConstraintJing (line 50) | public class GenericTypeConstraintJing : GenericTypeRequestHandlerTest... class Jing (line 55) | public class Jing : IRequest class JingHandler (line 60) | public class JingHandler : IRequestHandler method Handle (line 62) | public Task Handle(Jing request, CancellationToken cancellationToken) class Ping (line 69) | public class Ping : IRequest class Pong (line 74) | public class Pong class PingHandler (line 79) | public class PingHandler : IRequestHandler method Handle (line 81) | public Task Handle(Ping request, CancellationToken cancellatio... method GenericTypeConstraintsTests (line 89) | public GenericTypeConstraintsTests() method Should_Resolve_Void_Return_Request (line 105) | [Fact] method Should_Resolve_Response_Return_Request (line 132) | [Fact] FILE: test/MediatR.Tests/Licensing/LicenseValidatorTests.cs class LicenseValidatorTests (line 12) | public class LicenseValidatorTests method Should_return_invalid_when_no_claims (line 14) | [Fact] method Should_return_valid_when_community (line 35) | [Fact] method Should_return_invalid_when_not_correct_type (line 63) | [Fact] method Should_return_invalid_when_expired (line 90) | [Fact] method Should_allow_perpetual_license_when_build_date_before_expiration (line 117) | [Fact] method Should_reject_perpetual_license_when_build_date_after_expiration (line 147) | [Fact] method Should_handle_missing_perpetual_claim (line 176) | [Fact] method Should_fall_back_to_expiration_error_when_perpetual_and_build_date_is_null (line 204) | [Fact] method Should_return_valid_for_actual_valid_license (line 233) | [Fact(Skip = "Needs license")] method Should_return_valid_for_actual_valid_license_via_static_property (line 260) | [Fact(Skip = "Needs license")] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/AssemblyResolutionTests.cs class AssemblyResolutionTests (line 12) | public class AssemblyResolutionTests method AssemblyResolutionTests (line 16) | public AssemblyResolutionTests() method ShouldResolveMediator (line 29) | [Fact] method ShouldResolveRequestHandler (line 35) | [Fact] method ShouldResolveInternalHandler (line 41) | [Fact] method ShouldResolveNotificationHandlers (line 47) | [Fact] method ShouldResolveStreamHandlers (line 53) | [Fact] method ShouldRequireAtLeastOneAssembly (line 59) | [Fact] method ShouldResolveGenericVoidRequestHandler (line 69) | [Fact] method ShouldResolveGenericReturnTypeRequestHandler (line 75) | [Fact] method ShouldResolveGenericPingRequestHandler (line 81) | [Fact] method ShouldResolveVoidGenericPingRequestHandler (line 87) | [Fact] method ShouldNotThrowWhenAssemblyThrowsReflectionTypeLoadException (line 93) | [Fact] class BrokenAssembly (line 111) | private class BrokenAssembly : Assembly FILE: test/MediatR.Tests/MicrosoftExtensionsDI/BaseGenericRequestHandlerTests.cs class BaseGenericRequestHandlerTests (line 11) | public abstract class BaseGenericRequestHandlerTests method GenerateTypesClosingExceedsMaximumAssembly (line 13) | protected static Assembly GenerateTypesClosingExceedsMaximumAssembly() => method GenerateHandlerRegistrationsExceedsMaximumAssembly (line 16) | protected static Assembly GenerateHandlerRegistrationsExceedsMaximumAs... method GenerateGenericTypeParametersExceedsMaximumAssembly (line 19) | protected static Assembly GenerateGenericTypeParametersExceedsMaximumA... method GenerateTimeoutOccursAssembly (line 22) | protected static Assembly GenerateTimeoutOccursAssembly() => method GenerateOptOutAssembly (line 25) | protected static Assembly GenerateOptOutAssembly() => method CreateHandlerForOptOutTest (line 28) | protected static void CreateHandlerForOptOutTest(ModuleBuilder moduleB... method CreateHandlerForMissingConstraintsTest (line 31) | protected static void CreateHandlerForMissingConstraintsTest(ModuleBui... method CreateHandlerForExceedsMaximumClassesTest (line 34) | protected static void CreateHandlerForExceedsMaximumClassesTest(Module... method CreateHandlerForExceedsMaximumHandlerRegistrationsTest (line 37) | protected static void CreateHandlerForExceedsMaximumHandlerRegistratio... method CreateHandlerForExceedsMaximumGenericTypeParametersTest (line 40) | protected static void CreateHandlerForExceedsMaximumGenericTypeParamet... method CreateHandlerForTimeoutOccursTest (line 43) | protected static void CreateHandlerForTimeoutOccursTest(ModuleBuilder ... method CreateHandlerForCombinationsTest (line 46) | protected static void CreateHandlerForCombinationsTest(ModuleBuilder m... method CreateClass (line 49) | protected static void CreateClass(ModuleBuilder moduleBuilder, string ... method CreateInterface (line 56) | protected static Type CreateInterface(ModuleBuilder moduleBuilder, str... method CreateAssemblyModuleBuilder (line 62) | protected static AssemblyBuilder CreateAssemblyModuleBuilder(string na... method GenerateCombinationsTestAssembly (line 74) | protected static AssemblyBuilder GenerateCombinationsTestAssembly(int ... method GetGenericParameterNames (line 86) | protected static string[] GetGenericParameterNames(int numberOfTypePar... method CreateRequestHandler (line 89) | protected static void CreateRequestHandler(ModuleBuilder moduleBuilder... method CreateTestClassesAndInterfaces (line 139) | protected static void CreateTestClassesAndInterfaces(ModuleBuilder mod... method GenerateCombinations (line 157) | protected List GenerateCombinations(Type[] types, int interfaces) method GenerateCombinationsRecursive (line 168) | protected List GenerateCombinationsRecursive(List[] grou... method CalculateTotalCombinations (line 189) | protected static int CalculateTotalCombinations(int numberOfClasses, i... FILE: test/MediatR.Tests/MicrosoftExtensionsDI/CustomMediatorTests.cs class CustomMediatorTests (line 10) | public class CustomMediatorTests method CustomMediatorTests (line 14) | public CustomMediatorTests() method ShouldResolveMediator (line 27) | [Fact] method ShouldResolveRequestHandler (line 34) | [Fact] method ShouldResolveNotificationHandlers (line 40) | [Fact] method Can_Call_AddMediatr_multiple_times (line 46) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/DerivingRequestsTests.cs class DerivingRequestsTests (line 9) | public class DerivingRequestsTests method DerivingRequestsTests (line 14) | public DerivingRequestsTests() method ShouldReturnPingPong (line 24) | [Fact] method ShouldReturnDerivedPingPong (line 31) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/DuplicateAssemblyResolutionTests.cs class DuplicateAssemblyResolutionTests (line 10) | public class DuplicateAssemblyResolutionTests method DuplicateAssemblyResolutionTests (line 14) | public DuplicateAssemblyResolutionTests() method ShouldResolveNotificationHandlersOnlyOnce (line 22) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/Handlers.cs class Ping (line 10) | public class Ping : IRequest class DerivedPing (line 16) | public class DerivedPing : Ping class Pong (line 20) | public class Pong class Zing (line 25) | public class Zing : IRequest class Zong (line 30) | public class Zong class Ding (line 35) | public class Ding : IRequest class Pinged (line 40) | public class Pinged : INotification class InternalPing (line 45) | class InternalPing : IRequest { } class StreamPing (line 47) | public class StreamPing : IStreamRequest class GenericHandler (line 52) | public class GenericHandler : INotificationHandler method Handle (line 54) | public Task Handle(INotification notification, CancellationToken cance... class DingAsyncHandler (line 60) | public class DingAsyncHandler : IRequestHandler method Handle (line 62) | public Task Handle(Ding message, CancellationToken cancellationToken) ... class PingedHandler (line 65) | public class PingedHandler : INotificationHandler method Handle (line 67) | public Task Handle(Pinged notification, CancellationToken cancellation... class PingedAlsoHandler (line 73) | public class PingedAlsoHandler : INotificationHandler method Handle (line 75) | public Task Handle(Pinged notification, CancellationToken cancellation... class PingedAlsoOpenHandler (line 81) | public class PingedAlsoOpenHandler : INotificationHandler... method Handle (line 84) | public Task Handle(TNotification notification, CancellationToken cance... class Logger (line 87) | public class Logger class PingHandler (line 92) | public class PingHandler : IRequestHandler method PingHandler (line 96) | public PingHandler(Logger logger) method Handle (line 100) | public Task Handle(Ping message, CancellationToken cancellationT... class DerivedPingHandler (line 110) | public class DerivedPingHandler : IRequestHandler method DerivedPingHandler (line 114) | public DerivedPingHandler(Logger logger) method Handle (line 118) | public Task Handle(DerivedPing message, CancellationToken cancel... class ZingHandler (line 125) | public class ZingHandler : IRequestHandler method ZingHandler (line 129) | public ZingHandler(Logger output) method Handle (line 133) | public Task Handle(Zing message, CancellationToken cancellationT... class PingStreamHandler (line 140) | public class PingStreamHandler : IStreamRequestHandler method PingStreamHandler (line 144) | public PingStreamHandler(Logger output) method Handle (line 148) | public async IAsyncEnumerable Handle(StreamPing request, [Enumer... class DuplicateTest (line 156) | public class DuplicateTest : IRequest { } class DuplicateHandler1 (line 157) | public class DuplicateHandler1 : IRequestHandler method Handle (line 159) | public Task Handle(DuplicateTest message, CancellationToken ca... class DuplicateHandler2 (line 165) | public class DuplicateHandler2 : IRequestHandler method Handle (line 167) | public Task Handle(DuplicateTest message, CancellationToken ca... class InternalPingHandler (line 173) | class InternalPingHandler : IRequestHandler method Handle (line 175) | public Task Handle(InternalPing request, CancellationToken cancellatio... class MyCustomMediator (line 178) | class MyCustomMediator : IMediator method Send (line 180) | public Task Send(object request, CancellationToken cancellati... method CreateStream (line 185) | public IAsyncEnumerable CreateStream(IStreamRequ... method CreateStream (line 191) | public IAsyncEnumerable CreateStream(object request, Cancella... method Publish (line 196) | public Task Publish(object notification, CancellationToken cancellatio... method Publish (line 201) | public Task Publish(TNotification notification, Cancell... method Send (line 206) | public Task Send(IRequest request, Ca... method Send (line 210) | public Task Send(TRequest request, CancellationToken cancell... type ITypeArgument (line 217) | interface ITypeArgument { } class ConcreteTypeArgument (line 218) | class ConcreteTypeArgument : ITypeArgument { } class OpenGenericVoidRequest (line 219) | class OpenGenericVoidRequest : IRequest class OpenGenericVoidRequestHandler (line 222) | class OpenGenericVoidRequestHandler : IRequestHandler request, CancellationToke... class OpenGenericReturnTypeRequest (line 227) | class OpenGenericReturnTypeRequest : IRequest class OpenGenericReturnTypeRequestHandler (line 230) | class OpenGenericReturnTypeRequestHandler : IRequestHandler Handle(OpenGenericReturnTypeRequest request, Ca... class GenericPing (line 236) | public class GenericPing : IRequest class GenericPingHandler (line 242) | public class GenericPingHandler : IRequestHandler, T> method Handle (line 245) | public Task Handle(GenericPing request, CancellationToken cancel... class VoidGenericPing (line 248) | public class VoidGenericPing : IRequest class VoidGenericPingHandler (line 252) | public class VoidGenericPingHandler : IRequestHandler request, CancellationToken cance... class Foo (line 265) | public class Foo : IRequest class Bar (line 271) | public class Bar class FooHandler (line 276) | public class FooHandler : IRequestHandler method FooHandler (line 280) | public FooHandler(Logger logger) method Handle (line 284) | public Task Handle(Foo message, CancellationToken cancellationToken) FILE: test/MediatR.Tests/MicrosoftExtensionsDI/Issue1118Tests.cs class Issue1118Tests (line 19) | public class Issue1118Tests class CallLog (line 21) | public class CallLog class BaseEvent (line 26) | public class BaseEvent : INotification { } class DerivedEvent (line 28) | public class DerivedEvent : BaseEvent { } class BaseEventHandler (line 33) | public class BaseEventHandler : INotificationHandler method BaseEventHandler (line 37) | public BaseEventHandler(IServiceProvider serviceProvider) method Handle (line 40) | public Task Handle(BaseEvent notification, CancellationToken cancell... class DerivedEventHandler (line 47) | public class DerivedEventHandler : INotificationHandler method DerivedEventHandler (line 51) | public DerivedEventHandler(IServiceProvider serviceProvider) method Handle (line 54) | public Task Handle(DerivedEvent notification, CancellationToken canc... method BuildProvider (line 61) | private static IServiceProvider BuildProvider() method Publishing_BaseEvent_Should_Call_BaseEventHandler_Once (line 70) | [Fact] method Publishing_DerivedEvent_Should_Call_BaseEventHandler_ExactlyOnce (line 81) | [Fact] method Publishing_DerivedEvent_Should_Call_DerivedEventHandler_Once (line 93) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/NotificationPublisherTests.cs class NotificationPublisherTests (line 13) | public class NotificationPublisherTests class MockPublisher (line 15) | public class MockPublisher : INotificationPublisher method Publish (line 19) | public async Task Publish(IEnumerable h... method ShouldResolveDefaultPublisher (line 29) | [Fact] method ShouldSubstitutePublisherInstance (line 50) | [Fact] method ShouldSubstitutePublisherServiceType (line 72) | [Fact] method ShouldSubstitutePublisherServiceTypeWithWhenAll (line 98) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/PipeLineMultiCallToConstructorTest.cs class PipelineMultiCallToConstructorTests (line 11) | public class PipelineMultiCallToConstructorTests class ConstructorTestBehavior (line 13) | public class ConstructorTestBehavior : IPipelineB... method ConstructorTestBehavior (line 18) | public ConstructorTestBehavior(Logger output) => _output = output; method Handle (line 20) | public async Task Handle(TRequest request, RequestHandler... class ConstructorTestRequest (line 30) | public class ConstructorTestRequest : IRequest class ConstructorTestResponse (line 35) | public class ConstructorTestResponse class ConstructorTestHandler (line 40) | public class ConstructorTestHandler : IRequestHandler Handle(ConstructorTestRequest r... method Should_not_call_constructor_multiple_times_when_using_a_pipeline (line 73) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/PipelineTests.cs class PipelineTests (line 14) | public class PipelineTests class OuterBehavior (line 16) | public class OuterBehavior : IPipelineBehavior method OuterBehavior (line 20) | public OuterBehavior(Logger output) method Handle (line 25) | public async Task Handle(Ping request, RequestHandlerDelegate<... method OuterBehavior (line 119) | public OuterBehavior(Logger output) method Handle (line 124) | public async Task Handle(TRequest request, RequestHandler... class InnerBehavior (line 35) | public class InnerBehavior : IPipelineBehavior method InnerBehavior (line 39) | public InnerBehavior(Logger output) method Handle (line 44) | public async Task Handle(Ping request, RequestHandlerDelegate<... method InnerBehavior (line 99) | public InnerBehavior(Logger output) method Handle (line 104) | public async Task Handle(TRequest request, RequestHandler... class OuterStreamBehavior (line 54) | public class OuterStreamBehavior : IStreamPipelineBehavior method OuterStreamBehavior (line 58) | public OuterStreamBehavior(Logger output) method Handle (line 63) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... class InnerStreamBehavior (line 74) | public class InnerStreamBehavior : IStreamPipelineBehavior method InnerStreamBehavior (line 78) | public InnerStreamBehavior(Logger output) method Handle (line 83) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... class InnerBehavior (line 94) | public class InnerBehavior : IPipelineBehavior Handle(Ping request, RequestHandlerDelegate<... method InnerBehavior (line 99) | public InnerBehavior(Logger output) method Handle (line 104) | public async Task Handle(TRequest request, RequestHandler... class OuterBehavior (line 114) | public class OuterBehavior : IPipelineBehavior Handle(Ping request, RequestHandlerDelegate<... method OuterBehavior (line 119) | public OuterBehavior(Logger output) method Handle (line 124) | public async Task Handle(TRequest request, RequestHandler... class ConstrainedBehavior (line 134) | public class ConstrainedBehavior : IPipelineBehav... method ConstrainedBehavior (line 140) | public ConstrainedBehavior(Logger output) method Handle (line 145) | public async Task Handle(TRequest request, RequestHandler... class FirstPreProcessor (line 155) | public class FirstPreProcessor : IRequestPreProcessor method FirstConcretePreProcessor (line 174) | public FirstConcretePreProcessor(Logger output) method Process (line 178) | public Task Process(Ping request, CancellationToken cancellationToken) class NextPreProcessor (line 185) | public class NextPreProcessor : IRequestPreProcessor method NextConcretePreProcessor (line 204) | public NextConcretePreProcessor(Logger output) method Process (line 208) | public Task Process(Ping request, CancellationToken cancellationToken) class FirstPostProcessor (line 215) | public class FirstPostProcessor : IRequestPostPro... method FirstPostProcessor (line 220) | public FirstPostProcessor(Logger output) method Process (line 224) | public Task Process(TRequest request, TResponse response, Cancellati... class FirstConcretePostProcessor (line 231) | public class FirstConcretePostProcessor : IRequestPostProcessor : IRequestPostProc... method NextPostProcessor (line 251) | public NextPostProcessor(Logger output) method Process (line 255) | public Task Process(TRequest request, TResponse response, Cancellati... class NextConcretePostProcessor (line 262) | public class NextConcretePostProcessor : IRequestPostProcessor _output = ou... method Execute (line 283) | public Task Execute(Ping request, Exception exception, CancellationT... class PingPongApplicationExceptionAction (line 291) | public class PingPongApplicationExceptionAction : IRequestExceptionAct... method PingPongApplicationExceptionAction (line 295) | public PingPongApplicationExceptionAction(Logger output) => _output ... method Execute (line 297) | public Task Execute(Ping request, ApplicationException exception, Ca... class PingPongExceptionActionForType1 (line 305) | public class PingPongExceptionActionForType1 : IRequestExceptionAction... method PingPongExceptionActionForType1 (line 309) | public PingPongExceptionActionForType1(Logger output) => _output = o... method Execute (line 311) | public Task Execute(Ping request, SystemException exception, Cancell... class PingPongExceptionActionForType2 (line 319) | public class PingPongExceptionActionForType2 : IRequestExceptionAction... method PingPongExceptionActionForType2 (line 323) | public PingPongExceptionActionForType2(Logger output) => _output = o... method Execute (line 325) | public Task Execute(Ping request, SystemException exception, Cancell... class PingPongExceptionHandlerForType (line 333) | public class PingPongExceptionHandlerForType : IRequestExceptionHandle... method Handle (line 335) | public Task Handle(Ping request, ApplicationException exception, Req... class PingPongGenericExceptionHandler (line 343) | public class PingPongGenericExceptionHandler : IRequestExceptionHandle... method PingPongGenericExceptionHandler (line 347) | public PingPongGenericExceptionHandler(Logger output) => _output = o... method Handle (line 349) | public Task Handle(Ping request, Exception exception, RequestExcepti... class NotAnOpenBehavior (line 357) | public class NotAnOpenBehavior : IPipelineBehavior method Handle (line 359) | public Task Handle(Ping request, RequestHandlerDelegate ... class ThrowingBehavior (line 362) | public class ThrowingBehavior : IPipelineBehavior method Handle (line 364) | public Task Handle(Ping request, RequestHandlerDelegate ... class NotAnOpenStreamBehavior (line 367) | public class NotAnOpenStreamBehavior : IStreamPipelineBehavior Handle(Ping request, StreamHandlerDele... class OpenBehavior (line 372) | public class OpenBehavior : IPipelineBehavior Handle(TRequest request, RequestHandlerDelega... class OpenStreamBehavior (line 378) | public class OpenStreamBehavior : IStreamPipeline... method Handle (line 381) | public IAsyncEnumerable Handle(TRequest request, StreamHa... class MultiOpenBehavior (line 384) | public class MultiOpenBehavior : IPipelineBehavio... method Handle (line 387) | public Task Handle(TRequest request, RequestHandlerDelega... method Handle (line 389) | public IAsyncEnumerable Handle(TRequest request, StreamHa... method Should_wrap_with_behavior (line 392) | [Fact] method Should_wrap_generics_with_behavior (line 423) | [Fact] method Should_register_pre_and_post_processors (line 458) | [Fact] method Should_pick_up_specific_exception_behaviors (line 499) | [Fact] method Should_pick_up_base_exception_behaviors (line 517) | [Fact] method Should_handle_exceptions_from_behaviors (line 535) | [Fact] method Should_pick_up_exception_actions (line 557) | [Fact] method Should_handle_constrained_generics (line 575) | [Fact] method Should_throw_when_adding_non_open_behavior (line 644) | [Fact] method Should_throw_when_adding_non_open_stream_behavior (line 650) | [Fact] method Should_throw_when_adding_random_generic_type_as_open_behavior (line 656) | [Fact] method Should_handle_open_behavior_registration (line 662) | [Fact] method Should_handle_inferred_behavior_registration (line 695) | [Fact] method Should_handle_inferred_stream_behavior_registration (line 727) | [Fact] method Should_handle_inferred_pre_processor_registration (line 758) | [Fact] method Should_handle_inferred_post_processor_registration (line 789) | [Fact] method Should_handle_open_behaviors_registration_from_a_single_type (line 820) | [Fact] method Should_auto_register_processors_when_configured_including_all_concrete_types (line 853) | [Fact] type FooRequest (line 883) | public sealed record FooRequest : IRequest; type IBlogger (line 885) | public interface IBlogger class Blogger (line 890) | public class Blogger : IBlogger method Blogger (line 894) | public Blogger(Logger logger) class FooRequestHandler (line 902) | public sealed class FooRequestHandler : IRequestHandler { method FooRequestHandler (line 903) | public FooRequestHandler(IBlogger logger) method Handle (line 910) | public Task Handle(FooRequest request, CancellationToken cancellatio... class ClosedBehavior (line 916) | sealed class ClosedBehavior : IPipelineBehavior { method ClosedBehavior (line 917) | public ClosedBehavior(IBlogger logger) method Handle (line 924) | public Task Handle(FooRequest request, RequestHandlerDelegate<... class Open2Behavior (line 930) | sealed class Open2Behavior : IPipelineBehavior> lo... method Handle (line 938) | public Task Handle(TRequest request, RequestHandlerDelega... method Should_register_correctly (line 943) | [Fact] class OpenBehaviorMultipleRegistration0 (line 980) | sealed class OpenBehaviorMultipleRegistration0 : ... method OpenBehaviorMultipleRegistration0 (line 983) | public OpenBehaviorMultipleRegistration0(IBlogger Handle(TRequest request, RequestHandlerDelega... class OpenBehaviorMultipleRegistration1 (line 996) | sealed class OpenBehaviorMultipleRegistration1 : ... method OpenBehaviorMultipleRegistration1 (line 999) | public OpenBehaviorMultipleRegistration1(IBlogger Handle(TRequest request, RequestHandlerDelega... class OpenBehaviorMultipleRegistration2 (line 1012) | sealed class OpenBehaviorMultipleRegistration2 : ... method OpenBehaviorMultipleRegistration2 (line 1015) | public OpenBehaviorMultipleRegistration2(IBlogger Handle(TRequest request, RequestHandlerDelega... method Should_register_open_behaviors_correctly (line 1030) | [Fact] class ListPing (line 1072) | public class ListPing : IRequest> { } class ListPingHandler (line 1074) | public class ListPingHandler : IRequestHandler> method ListPingHandler (line 1077) | public ListPingHandler(Logger output) => _output = output; method Handle (line 1078) | public Task> Handle(ListPing request, CancellationToken c... class ListResponseBehavior (line 1085) | public class ListResponseBehavior method ListResponseBehavior (line 1090) | public ListResponseBehavior(Logger output) => _output = output; method Handle (line 1091) | public async Task> Handle(TRequest request, RequestHandl... method Should_apply_open_behavior_with_nested_generic_response_type (line 1100) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/StreamPipelineTests.cs class StreamPipelineTests (line 16) | public class StreamPipelineTests class OuterBehavior (line 18) | public class OuterBehavior : IStreamPipelineBehavior method OuterBehavior (line 22) | public OuterBehavior(Logger output) method Handle (line 27) | public async IAsyncEnumerable Handle(StreamPing request, Strea... class InnerBehavior (line 38) | public class InnerBehavior : IStreamPipelineBehavior method InnerBehavior (line 42) | public InnerBehavior(Logger output) method Handle (line 47) | public async IAsyncEnumerable Handle(StreamPing request, Strea... method Should_wrap_with_behavior (line 58) | [Fact] method Should_register_and_wrap_with_behavior (line 89) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/TypeEvaluatorTests.cs class TypeEvaluatorTests (line 12) | public class TypeEvaluatorTests method TypeEvaluatorTests (line 18) | public TypeEvaluatorTests() method ShouldResolveMediator (line 31) | [Fact] method ShouldOnlyResolveIncludedRequestHandlers (line 37) | [Fact] method ShouldNotRegisterUnNeededBehaviors (line 44) | [Fact] FILE: test/MediatR.Tests/MicrosoftExtensionsDI/TypeResolutionTests.cs class TypeResolutionTests (line 13) | public class TypeResolutionTests method TypeResolutionTests (line 17) | public TypeResolutionTests() method ShouldResolveMediator (line 26) | [Fact] method ShouldResolveSender (line 32) | [Fact] method ShouldResolvePublisher (line 38) | [Fact] method ShouldResolveRequestHandler (line 44) | [Fact] method ShouldResolveVoidRequestHandler (line 50) | [Fact] method ShouldResolveNotificationHandlers (line 56) | [Fact] method ShouldNotThrowWithMissingEnumerables (line 62) | [Fact] method ShouldResolveFirstDuplicateHandler (line 68) | [Fact] method ShouldResolveIgnoreSecondDuplicateHandler (line 76) | [Fact] method ShouldHandleKeyedServices (line 82) | [Fact] FILE: test/MediatR.Tests/NotificationHandlerTests.cs class NotificationHandlerTests (line 9) | public class NotificationHandlerTests class Ping (line 11) | public class Ping : INotification class PongChildHandler (line 16) | public class PongChildHandler : NotificationHandler method PongChildHandler (line 20) | public PongChildHandler(TextWriter writer) method Handle (line 25) | protected override void Handle(Ping notification) method Should_call_abstract_handle_method (line 31) | [Fact] FILE: test/MediatR.Tests/NotificationPublisherTests.cs class NotificationPublisherTests (line 12) | public class NotificationPublisherTests method NotificationPublisherTests (line 16) | public NotificationPublisherTests(ITestOutputHelper output) => _output... class Notification (line 18) | public class Notification : INotification class FirstHandler (line 22) | public class FirstHandler : INotificationHandler method Handle (line 24) | public async Task Handle(Notification notification, CancellationToke... class SecondHandler (line 27) | public class SecondHandler : INotificationHandler method Handle (line 29) | public async Task Handle(Notification notification, CancellationToke... method Should_handle_sequentially_by_default (line 33) | [Fact] FILE: test/MediatR.Tests/Pipeline/RequestExceptionActionTests.cs class RequestExceptionActionTests (line 5) | public class RequestExceptionActionTests class Ping (line 7) | public class Ping : IRequest class Pong (line 12) | public class Pong class PingPongException (line 17) | public abstract class PingPongException : Exception method PingPongException (line 19) | protected PingPongException(string? message) : base(message + " Thro... class PingException (line 24) | public class PingException : PingPongException method PingException (line 26) | public PingException(string? message) : base(message) class PongException (line 31) | public class PongException : PingPongException method PongException (line 33) | public PongException(string message) : base(message) class PingHandler (line 38) | public class PingHandler : IRequestHandler method Handle (line 40) | public Task Handle(Ping request, CancellationToken cancellatio... class GenericExceptionAction (line 46) | public class GenericExceptionAction : IRequestExceptionActio... method Execute (line 50) | public Task Execute(TRequest request, Exception exception, Cancellat... class PingPongExceptionAction (line 57) | public class PingPongExceptionAction : IRequestExceptionActi... method Execute (line 61) | public Task Execute(TRequest request, PingPongException exception, C... class PingExceptionAction (line 68) | public class PingExceptionAction : IRequestExceptionAction class Pong (line 17) | public class Pong class PingException (line 22) | public class PingException : Exception method PingException (line 24) | public PingException(string? message) : base(message + " Thrown") class PingHandler (line 29) | public class PingHandler : IRequestHandler method Handle (line 31) | public Task Handle(Ping request, CancellationToken cancellatio... class GenericPingExceptionHandler (line 37) | public class GenericPingExceptionHandler : IRequestExceptionHandler class Pong (line 17) | public class Pong class PingHandler (line 22) | public class PingHandler : IRequestHandler method Handle (line 24) | public Task Handle(Ping request, CancellationToken cancellatio... class PingPongPostProcessor (line 30) | public class PingPongPostProcessor : IRequestPostProcessor method Process (line 32) | public Task Process(Ping request, Pong response, CancellationToken c... method Should_run_postprocessors (line 40) | [Fact] FILE: test/MediatR.Tests/Pipeline/RequestPreProcessorTests.cs class RequestPreProcessorTests (line 10) | public class RequestPreProcessorTests class Ping (line 12) | public class Ping : IRequest class Pong (line 17) | public class Pong class PingHandler (line 22) | public class PingHandler : IRequestHandler method Handle (line 24) | public Task Handle(Ping request, CancellationToken cancellatio... class PingPreProcessor (line 30) | public class PingPreProcessor : IRequestPreProcessor method Process (line 32) | public Task Process(Ping request, CancellationToken cancellationToken) method Should_run_preprocessors (line 40) | [Fact] FILE: test/MediatR.Tests/Pipeline/Streams/StreamPipelineBehaviorTests.cs class StreamPipelineBehaviorTests (line 13) | public class StreamPipelineBehaviorTests class Sing (line 15) | public class Sing : IStreamRequest class Song (line 20) | public class Song class SingHandler (line 25) | public class SingHandler : IStreamRequestHandler method Handle (line 27) | public async IAsyncEnumerable Handle(Sing request, [Enumerator... class SingSongPipelineBehavior (line 35) | public class SingSongPipelineBehavior : IStreamPipelineBehavior Handle(Sing request, StreamHandl... method Should_run_pipeline_behavior (line 50) | [Fact] FILE: test/MediatR.Tests/PipelineTests.cs class PipelineTests (line 10) | public class PipelineTests class Ping (line 12) | public class Ping : IRequest class Pong (line 17) | public class Pong class VoidPing (line 22) | public class VoidPing : IRequest class Zing (line 27) | public class Zing : IRequest class Zong (line 32) | public class Zong class PingHandler (line 37) | public class PingHandler : IRequestHandler method PingHandler (line 41) | public PingHandler(Logger output) method Handle (line 45) | public Task Handle(Ping request, CancellationToken cancellatio... class VoidPingHandler (line 52) | public class VoidPingHandler : IRequestHandler method VoidPingHandler (line 56) | public VoidPingHandler(Logger output) method Handle (line 60) | public Task Handle(VoidPing request, CancellationToken cancellationT... class ZingHandler (line 67) | public class ZingHandler : IRequestHandler method ZingHandler (line 71) | public ZingHandler(Logger output) method Handle (line 75) | public Task Handle(Zing request, CancellationToken cancellatio... class OuterBehavior (line 82) | public class OuterBehavior : IPipelineBehavior method OuterBehavior (line 86) | public OuterBehavior(Logger output) method Handle (line 91) | public async Task Handle(Ping request, RequestHandlerDelegate<... method OuterBehavior (line 182) | public OuterBehavior(Logger output) method Handle (line 187) | public async Task Handle(TRequest request, RequestHandler... class OuterVoidBehavior (line 101) | public class OuterVoidBehavior : IPipelineBehavior method OuterVoidBehavior (line 105) | public OuterVoidBehavior(Logger output) method Handle (line 110) | public async Task Handle(VoidPing request, RequestHandlerDeleg... class InnerBehavior (line 120) | public class InnerBehavior : IPipelineBehavior method InnerBehavior (line 124) | public InnerBehavior(Logger output) method Handle (line 129) | public async Task Handle(Ping request, RequestHandlerDelegate<... method InnerBehavior (line 163) | public InnerBehavior(Logger output) method Handle (line 168) | public async Task Handle(TRequest request, RequestHandler... class InnerVoidBehavior (line 139) | public class InnerVoidBehavior : IPipelineBehavior method InnerVoidBehavior (line 143) | public InnerVoidBehavior(Logger output) method Handle (line 148) | public async Task Handle(VoidPing request, RequestHandlerDeleg... class InnerBehavior (line 158) | public class InnerBehavior : IPipelineBehavior Handle(Ping request, RequestHandlerDelegate<... method InnerBehavior (line 163) | public InnerBehavior(Logger output) method Handle (line 168) | public async Task Handle(TRequest request, RequestHandler... class OuterBehavior (line 178) | public class OuterBehavior : IPipelineBehavior Handle(Ping request, RequestHandlerDelegate<... method OuterBehavior (line 182) | public OuterBehavior(Logger output) method Handle (line 187) | public async Task Handle(TRequest request, RequestHandler... class ConstrainedBehavior (line 197) | public class ConstrainedBehavior : IPipelineBehav... method ConstrainedBehavior (line 203) | public ConstrainedBehavior(Logger output) method Handle (line 208) | public async Task Handle(TRequest request, RequestHandler... class ConcreteBehavior (line 218) | public class ConcreteBehavior : IPipelineBehavior method ConcreteBehavior (line 222) | public ConcreteBehavior(Logger output) method Handle (line 227) | public async Task Handle(Ping request, RequestHandlerDelegate<... class Logger (line 237) | public class Logger method Should_wrap_with_behavior (line 242) | [Fact] method Should_wrap_void_with_behavior (line 275) | [Fact] method Should_wrap_generics_with_behavior (line 306) | [Fact] method Should_wrap_void_generics_with_behavior (line 341) | [Fact] method Should_handle_constrained_generics (line 375) | [Fact] method Should_handle_concrete_and_open_generics (line 430) | [Fact(Skip = "Lamar does not mix concrete and open generics. Use const... FILE: test/MediatR.Tests/PublishTests.cs class PublishTests (line 13) | public class PublishTests class Ping (line 15) | public class Ping : INotification class PongHandler (line 20) | public class PongHandler : INotificationHandler method PongHandler (line 24) | public PongHandler(TextWriter writer) method Handle (line 29) | public Task Handle(Ping notification, CancellationToken cancellation... class PungHandler (line 35) | public class PungHandler : INotificationHandler method PungHandler (line 39) | public PungHandler(TextWriter writer) method Handle (line 44) | public Task Handle(Ping notification, CancellationToken cancellation... method Should_resolve_main_handler (line 50) | [Fact] method Should_resolve_main_handler_when_object_is_passed (line 76) | [Fact] class SequentialMediator (line 103) | public class SequentialMediator : Mediator method SequentialMediator (line 105) | public SequentialMediator(IServiceProvider serviceProvider) method PublishCore (line 110) | protected override async Task PublishCore(IEnumerable h... method Should_override_with_sequential_firing (line 133) | [Fact] method Should_override_with_sequential_firing_through_injection (line 159) | [Fact] method Should_resolve_handlers_given_interface (line 188) | [Fact] method Should_resolve_main_handler_by_specific_interface (line 216) | [Fact] FILE: test/MediatR.Tests/SendTests.cs class SendTests (line 12) | public class SendTests method SendTests (line 18) | public SendTests() class Ping (line 34) | public class Ping : IRequest class VoidPing (line 39) | public class VoidPing : IRequest class Pong (line 43) | public class Pong class PingHandler (line 48) | public class PingHandler : IRequestHandler method Handle (line 50) | public Task Handle(Ping request, CancellationToken cancellatio... class Dependency (line 56) | public class Dependency class VoidPingHandler (line 62) | public class VoidPingHandler : IRequestHandler method VoidPingHandler (line 66) | public VoidPingHandler(Dependency dependency) => _dependency = depen... method Handle (line 68) | public Task Handle(VoidPing request, CancellationToken cancellationT... class GenericPing (line 76) | public class GenericPing : IRequest class GenericPingHandler (line 82) | public class GenericPingHandler : IRequestHandler, T> method GenericPingHandler (line 87) | public GenericPingHandler(Dependency dependency) => _dependency = de... method Handle (line 89) | public Task Handle(GenericPing request, CancellationToken canc... class VoidGenericPing (line 97) | public class VoidGenericPing : IRequest class VoidGenericPingHandler (line 101) | public class VoidGenericPingHandler : IRequestHandler _dependency ... method Handle (line 107) | public Task Handle(VoidGenericPing request, CancellationToken can... class PongExtension (line 115) | public class PongExtension : Pong class TestClass1PingRequestHandler (line 120) | public class TestClass1PingRequestHandler : IRequestHandler _depen... method Handle (line 126) | public Task Handle(VoidGenericPing request, Cancellat... type ITestInterface1 (line 133) | public interface ITestInterface1 { } type ITestInterface2 (line 134) | public interface ITestInterface2 { } type ITestInterface3 (line 135) | public interface ITestInterface3 { } class TestClass1 (line 137) | public class TestClass1 : ITestInterface1 { } class TestClass2 (line 138) | public class TestClass2 : ITestInterface2 { } class TestClass3 (line 139) | public class TestClass3 : ITestInterface3 { } class MultipleGenericTypeParameterRequest (line 141) | public class MultipleGenericTypeParameterRequest : IReques... class MultipleGenericTypeParameterRequestHandler (line 149) | public class MultipleGenericTypeParameterRequestHandler : ... method MultipleGenericTypeParameterRequestHandler (line 156) | public MultipleGenericTypeParameterRequestHandler(Dependency depende... method Handle (line 158) | public Task Handle(MultipleGenericTypeParameterRequest : IPipelineBehavior<... method Handle (line 168) | public async Task Handle(TRequest request, RequestHandler... class TimeoutRequest (line 177) | public class TimeoutRequest : IRequest class TimeoutRequest2 (line 181) | public class TimeoutRequest2 : IRequest class TimeoutRequestHandler (line 185) | public class TimeoutRequestHandler : IRequestHandler method TimeoutRequestHandler (line 189) | public TimeoutRequestHandler(Dependency dependency) => _dependency =... method Handle (line 191) | public async Task Handle(TimeoutRequest request, CancellationToken c... class TimeoutRequest2Handler (line 199) | public class TimeoutRequest2Handler : IRequestHandler _dependency ... method Handle (line 205) | public async Task Handle(TimeoutRequest2 request, CancellationT... method Should_resolve_main_handler (line 214) | [Fact] method Should_resolve_main_void_handler (line 222) | [Fact] method Should_resolve_main_handler_via_dynamic_dispatch (line 230) | [Fact] method Should_resolve_main_void_handler_via_dynamic_dispatch (line 240) | [Fact] method Should_resolve_main_handler_by_specific_interface (line 251) | [Fact] method Should_resolve_main_handler_by_given_interface (line 259) | [Fact] method Should_raise_execption_on_null_request (line 269) | [Fact] method Should_resolve_generic_handler (line 272) | [Fact] method Should_resolve_generic_void_handler (line 284) | [Fact] method Should_resolve_multiple_type_parameter_generic_handler (line 293) | [Fact] method Should_resolve_closed_handler_if_defined (line 302) | [Fact] method Should_resolve_open_handler_if_not_defined (line 326) | [Fact] method TimeoutBehavior_Void_Should_Cancel_Long_Running_Task_And_Throw_Exception (line 349) | [Fact] method TimeoutBehavior_NonVoid_Should_Cancel_Long_Running_Task_And_Throw_Exception (line 361) | [Fact] FILE: test/MediatR.Tests/SendVoidInterfaceTests.cs class SendVoidInterfaceTests (line 11) | public class SendVoidInterfaceTests class Ping (line 13) | public class Ping : IRequest class PingHandler (line 18) | public class PingHandler : IRequestHandler method PingHandler (line 22) | public PingHandler(TextWriter writer) => _writer = writer; method Handle (line 24) | public Task Handle(Ping request, CancellationToken cancellationToken) method Should_resolve_main_void_handler (line 28) | [Fact] FILE: test/MediatR.Tests/ServiceFactoryTests.cs class ServiceFactoryCollectionBehavior (line 12) | [CollectionDefinition(nameof(ServiceFactoryCollectionBehavior), DisableP... class ServiceFactoryTests (line 15) | [Collection(nameof(ServiceFactoryCollectionBehavior))] class Ping (line 18) | public class Ping : IRequest class Pong (line 23) | public class Pong method Should_throw_given_no_handler (line 28) | [Fact] method Should_not_throw_with_manual_registration (line 46) | [Fact] method Should_throw_when_missing_required_configuration (line 64) | [Fact] FILE: test/MediatR.Tests/StreamPipelineTests.cs class StreamPipelineTests (line 11) | public class StreamPipelineTests class Ping (line 13) | public class Ping : IStreamRequest class Pong (line 18) | public class Pong class Zing (line 23) | public class Zing : IStreamRequest class Zong (line 28) | public class Zong class PingHandler (line 33) | public class PingHandler : IStreamRequestHandler method PingHandler (line 37) | public PingHandler(Logger output) method Handle (line 42) | public async IAsyncEnumerable Handle(Ping request, [Enumerator... class ZingHandler (line 49) | public class ZingHandler : IStreamRequestHandler method ZingHandler (line 53) | public ZingHandler(Logger output) method Handle (line 58) | public async IAsyncEnumerable Handle(Zing request, [Enumerator... class OuterBehavior (line 65) | public class OuterBehavior : IStreamPipelineBehavior method OuterBehavior (line 69) | public OuterBehavior(Logger output) method Handle (line 74) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... method OuterBehavior (line 131) | public OuterBehavior(Logger output) method Handle (line 136) | public async IAsyncEnumerable Handle(TRequest request, St... class InnerBehavior (line 85) | public class InnerBehavior : IStreamPipelineBehavior method InnerBehavior (line 89) | public InnerBehavior(Logger output) method Handle (line 94) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... method InnerBehavior (line 110) | public InnerBehavior(Logger output) method Handle (line 115) | public async IAsyncEnumerable Handle(TRequest request, St... class InnerBehavior (line 105) | public class InnerBehavior : IStreamPipelineBehav... method InnerBehavior (line 89) | public InnerBehavior(Logger output) method Handle (line 94) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... method InnerBehavior (line 110) | public InnerBehavior(Logger output) method Handle (line 115) | public async IAsyncEnumerable Handle(TRequest request, St... class OuterBehavior (line 126) | public class OuterBehavior : IStreamPipelineBehav... method OuterBehavior (line 69) | public OuterBehavior(Logger output) method Handle (line 74) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... method OuterBehavior (line 131) | public OuterBehavior(Logger output) method Handle (line 136) | public async IAsyncEnumerable Handle(TRequest request, St... class ConstrainedBehavior (line 147) | public class ConstrainedBehavior : IStreamPipelin... method ConstrainedBehavior (line 153) | public ConstrainedBehavior(Logger output) method Handle (line 157) | public async IAsyncEnumerable Handle(TRequest request, St... class ConcreteBehavior (line 168) | public class ConcreteBehavior : IStreamPipelineBehavior method ConcreteBehavior (line 172) | public ConcreteBehavior(Logger output) method Handle (line 177) | public async IAsyncEnumerable Handle(Ping request, StreamHandl... class Logger (line 188) | public class Logger method Should_wrap_with_behavior (line 193) | [Fact] method Should_wrap_generics_with_behavior (line 227) | [Fact] method Should_handle_constrained_generics (line 263) | [Fact] method Should_handle_concrete_and_open_generics (line 318) | [Fact(Skip = "Lamar does not mix concrete and open generics. Use const... FILE: test/MediatR.Tests/TestContainer.cs class TestContainer (line 8) | public static class TestContainer method Create (line 10) | public static IServiceProvider Create(Action config) FILE: test/MediatR.Tests/UnitTests.cs class UnitTests (line 9) | public class UnitTests method Should_be_equal_to_each_other (line 11) | [Fact] method Should_be_equitable (line 22) | [Fact] method Should_tostring (line 33) | [Fact] method Should_compareto_as_zero (line 40) | [Fact] method ValueData (line 49) | public static object[][] ValueData() method CompareToValueData (line 65) | public static object[][] CompareToValueData() method Should_be_equal (line 68) | [Theory] method Should_compareto_value_as_zero (line 80) | [Theory]