API Diff between 5.3.0-alpha0077 and 0.9.0.47
1549 Additions
183 Removals
EasyNetQ
-
public class AutoSubscriber
-
public class BinarySerializer : ISerializer
-
public static class BusExtensions
-
public class ComponentRegistration
-
public class ConcurrentHashSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public class AdvancedBusEventHandlers
-
public static class AdvancedBusExtensions
- public static IBinding Bind(this IAdvancedBus bus, IExchange source, IExchange destination, string routingKey, CancellationToken cancellationToken = default)
- public static IBinding Bind(this IAdvancedBus bus, IExchange source, IExchange destination, string routingKey, IDictionary<string, object> headers, CancellationToken cancellationToken = default)
- public static IBinding Bind(this IAdvancedBus bus, IExchange exchange, IQueue queue, string routingKey, CancellationToken cancellationToken = default)
- public static IBinding Bind(this IAdvancedBus bus, IExchange exchange, IQueue queue, string routingKey, IDictionary<string, object> headers, CancellationToken cancellationToken = default)
- public static IDisposable Consume<T>(this IAdvancedBus bus, IQueue queue, Action<IMessage<T>, MessageReceivedInfo> onMessage)
- public static IDisposable Consume<T>(this IAdvancedBus bus, IQueue queue, Action<IMessage<T>, MessageReceivedInfo> onMessage, Action<IConsumerConfiguration> configure)
- public static IDisposable Consume<T>(this IAdvancedBus bus, IQueue queue, Func<IMessage<T>, MessageReceivedInfo, Task> onMessage)
- public static IDisposable Consume<T>(this IAdvancedBus bus, IQueue queue, Func<IMessage<T>, MessageReceivedInfo, Task> onMessage, Action<IConsumerConfiguration> configure)
- public static IDisposable Consume(this IAdvancedBus bus, IQueue queue, Action<IHandlerRegistration> addHandlers)
- public static IDisposable Consume(this IAdvancedBus bus, IQueue queue, Action<byte[], MessageProperties, MessageReceivedInfo> onMessage)
- public static IDisposable Consume(this IAdvancedBus bus, IQueue queue, Action<byte[], MessageProperties, MessageReceivedInfo> onMessage, Action<IConsumerConfiguration> configure)
- public static IDisposable Consume(this IAdvancedBus bus, IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, Task> onMessage)
- public static IDisposable Consume(this IAdvancedBus bus, IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, Task> onMessage, Action<IConsumerConfiguration> configure)
- public static IExchange ExchangeDeclare(this IAdvancedBus bus, string name, string type, bool durable = true, bool autoDelete = false, CancellationToken cancellationToken = default)
- public static IExchange ExchangeDeclare(this IAdvancedBus bus, string name, Action<IExchangeDeclareConfiguration> configure, CancellationToken cancellationToken = default)
- public static Task<IExchange> ExchangeDeclareAsync(this IAdvancedBus bus, string name, string type, bool durable = true, bool autoDelete = false, CancellationToken cancellationToken = default)
- public static void ExchangeDeclarePassive(this IAdvancedBus bus, string name, CancellationToken cancellationToken = default)
- public static void ExchangeDelete(this IAdvancedBus bus, IExchange exchange, bool ifUnused = false, CancellationToken cancellationToken = default)
- public static IBasicGetResult<T> GetMessage<T>(this IAdvancedBus bus, IQueue queue, CancellationToken cancellationToken = default)
- public static IBasicGetResult GetMessage(this IAdvancedBus bus, IQueue queue, CancellationToken cancellationToken = default)
- public static uint GetMessagesCount(this IAdvancedBus bus, IQueue queue, CancellationToken cancellationToken = default)
- public static void Publish(this IAdvancedBus bus, IExchange exchange, string routingKey, bool mandatory, MessageProperties messageProperties, byte[] body, CancellationToken cancellationToken = default)
- public static void Publish<T>(this IAdvancedBus bus, IExchange exchange, string routingKey, bool mandatory, IMessage<T> message, CancellationToken cancellationToken = default)
- public static IQueue QueueDeclare(this IAdvancedBus bus, CancellationToken cancellationToken = default)
- public static IQueue QueueDeclare(this IAdvancedBus bus, string name, Action<IQueueDeclareConfiguration> configure, CancellationToken cancellationToken = default)
- public static IQueue QueueDeclare(this IAdvancedBus bus, string name, bool durable, bool exclusive, bool autoDelete, CancellationToken cancellationToken = default)
- public static IQueue QueueDeclare(this IAdvancedBus bus, string name, CancellationToken cancellationToken = default)
- public static Task<IQueue> QueueDeclareAsync(this IAdvancedBus bus, string name, CancellationToken cancellationToken = default)
- public static Task<IQueue> QueueDeclareAsync(this IAdvancedBus bus, string name, bool durable, bool exclusive, bool autoDelete, CancellationToken cancellationToken = default)
- public static void QueueDeclarePassive(this IAdvancedBus bus, string name, CancellationToken cancellationToken = default)
- public static void QueueDelete(this IAdvancedBus bus, IQueue queue, bool ifUnused = false, bool ifEmpty = false, CancellationToken cancellationToken = default)
- public static void QueuePurge(this IAdvancedBus bus, IQueue queue, CancellationToken cancellationToken = default)
- public static void Unbind(this IAdvancedBus bus, IBinding binding, CancellationToken cancellationToken = default)
-
public class BasicGetResult : IBasicGetResult
-
public class BasicGetResult<T> : IBasicGetResult<T>
-
public class BlockedEventArgs : EventArgs
-
public class ConnectedEventArgs : EventArgs
-
public class ConnectionConfiguration
-
public class ConnectionFactoryInfo
-
public class ConnectionFactoryWrapper : IConnectionFactory
-
public class ConsumerAttribute : Attribute
-
public class ConsumerInfo
-
public sealed delegate ConsumerTagConvention : MulticastDelegate
-
public class Conventions : IConventions
-
public class CorrelationIdGenerator
-
public class DefaultClusterHostSelectionStrategy<T> : IClusterHostSelectionStrategy<T>, IEnumerable<T>, IEnumerable
-
public class DefaultConsumerErrorStrategy : IConsumerErrorStrategy, IDisposable
-
public class DefaultServiceProvider : IServiceProvider, IServiceRegister
-
public class EasyNetQConsumer : DefaultBasicConsumer
-
public class DeadLetterExchangeAndMessageTtlScheduler : IScheduler
-
public class DefaultCorrelationIdGenerationStrategy : ICorrelationIdGenerationStrategy
-
public class DefaultMessageSerializationStrategy : IMessageSerializationStrategy
-
public class DefaultPubSub : IPubSub
- public DefaultPubSub(ConnectionConfiguration configuration, IConventions conventions, IExchangeDeclareStrategy exchangeDeclareStrategy, IMessageDeliveryModeStrategy messageDeliveryModeStrategy, IAdvancedBus advancedBus)
- public virtual Task PublishAsync<T>(T message, Action<IPublishConfiguration> configure, CancellationToken cancellationToken)
- public virtual AwaitableDisposable<ISubscriptionResult> SubscribeAsync<T>(string subscriptionId, Func<T, CancellationToken, Task> onMessage, Action<ISubscriptionConfiguration> configure, CancellationToken cancellationToken)
-
public class DefaultRpc : IRpc, IDisposable
- protected struct ResponseAction
- protected struct ResponseSubscription
- protected struct RpcKey
- protected const string ExceptionMessageKey = "ExceptionMessage"
- protected const string IsFaultedKey = "IsFaulted"
- protected readonly IAdvancedBus advancedBus
- protected readonly IConventions conventions
- protected readonly IExchangeDeclareStrategy exchangeDeclareStrategy
- protected readonly IMessageDeliveryModeStrategy messageDeliveryModeStrategy
- public DefaultRpc(ConnectionConfiguration configuration, IAdvancedBus advancedBus, IEventBus eventBus, IConventions conventions, IExchangeDeclareStrategy exchangeDeclareStrategy, IMessageDeliveryModeStrategy messageDeliveryModeStrategy, ITypeNameSerializer typeNameSerializer, ICorrelationIdGenerationStrategy correlationIdGenerationStrategy)
- protected void DeRegisterResponseActions(string correlationId)
- public void Dispose()
- protected void RegisterResponseActions<TResponse>(string correlationId, TaskCompletionSource<TResponse> tcs)
- public virtual Task<TResponse> RequestAsync<TRequest, TResponse>(TRequest request, Action<IRequestConfiguration> configure, CancellationToken cancellationToken = default)
- protected virtual Task RequestPublishAsync<TRequest>(TRequest request, string routingKey, string returnQueueName, string correlationId, TimeSpan expiration, CancellationToken cancellationToken)
- public virtual AwaitableDisposable<IDisposable> RespondAsync<TRequest, TResponse>(Func<TRequest, CancellationToken, Task<TResponse>> responder, Action<IResponderConfiguration> configure, CancellationToken cancellationToken = default)
- protected virtual Task<string> SubscribeToResponseAsync<TRequest, TResponse>(CancellationToken cancellationToken)
-
public class DefaultSendReceive : ISendReceive
- public DefaultSendReceive(ConnectionConfiguration configuration, IAdvancedBus advancedBus, IMessageDeliveryModeStrategy messageDeliveryModeStrategy)
- public AwaitableDisposable<IDisposable> ReceiveAsync<T>(string queue, Func<T, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken)
- public AwaitableDisposable<IDisposable> ReceiveAsync(string queue, Action<IReceiveRegistration> addHandlers, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken)
- public Task SendAsync<T>(string queue, T message, CancellationToken cancellationToken)
-
public class DefaultTypeNameSerializer : ITypeNameSerializer
-
public static class DelayedExchangeExtensions
-
public class DelayedExchangeScheduler : IScheduler
-
public class DeliveryModeAttribute : Attribute
-
public class DisconnectedEventArgs : EventArgs
-
public class EasyNetQException : Exception
-
public class EasyNetQInvalidMessageTypeException : EasyNetQException
-
public class EasyNetQResponderException : EasyNetQException
-
public sealed delegate ErrorExchangeNameConvention : MulticastDelegate
-
public sealed delegate ErrorQueueNameConvention : MulticastDelegate
-
public sealed class EventBus : IEventBus
-
public static class ExchangeDeclareConfigurationExtensions
-
public class ExternalScheduler : IScheduler
-
public class HostConfiguration
-
public interface IAdvancedBus : IDisposable
- IServiceResolver Container { get; }
- IConventions Conventions { get; }
- ISerializer Serializer { get; }
- SerializeType SerializeType { get; }
- event Action Connected
- event Action Disconnected
- IAdvancedPublishChannel OpenPublishChannel()
- IAdvancedPublishChannel OpenPublishChannel(Action<IChannelConfiguration> configure)
- void Subscribe<T>(IQueue queue, Func<IMessage<T>, MessageReceivedInfo, Task> onMessage)
- void Subscribe(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, Task> onMessage)
- event EventHandler<BlockedEventArgs> Blocked
- event EventHandler<ConnectedEventArgs> Connected
- event EventHandler<DisconnectedEventArgs> Disconnected
- event EventHandler<MessageReturnedEventArgs> MessageReturned
- event EventHandler Unblocked
- Task<IBinding> BindAsync(IExchange exchange, IQueue queue, string routingKey, CancellationToken cancellationToken = default)
- Task<IBinding> BindAsync(IExchange exchange, IQueue queue, string routingKey, IDictionary<string, object> headers, CancellationToken cancellationToken = default)
- Task<IBinding> BindAsync(IExchange source, IExchange destination, string routingKey, CancellationToken cancellationToken = default)
- Task<IBinding> BindAsync(IExchange source, IExchange destination, string routingKey, IDictionary<string, object> headers, CancellationToken cancellationToken = default)
- IDisposable Consume(IEnumerable<QueueConsumerPair> queueConsumerPairs, Action<IConsumerConfiguration> configure)
- IDisposable Consume<T>(IQueue queue, Func<IMessage<T>, MessageReceivedInfo, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure)
- IDisposable Consume(IQueue queue, Action<IHandlerRegistration> addHandlers, Action<IConsumerConfiguration> configure)
- IDisposable Consume(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure)
- Task<IExchange> ExchangeDeclareAsync(string name, Action<IExchangeDeclareConfiguration> configure, CancellationToken cancellationToken = default)
- Task ExchangeDeclarePassiveAsync(string name, CancellationToken cancellationToken = default)
- Task ExchangeDeleteAsync(IExchange exchange, bool ifUnused = false, CancellationToken cancellationToken = default)
- Task<IBasicGetResult<T>> GetMessageAsync<T>(IQueue queue, CancellationToken cancellationToken = default)
- Task<IBasicGetResult> GetMessageAsync(IQueue queue, CancellationToken cancellationToken = default)
- Task<uint> GetMessagesCountAsync(IQueue queue, CancellationToken cancellationToken = default)
- Task PublishAsync(IExchange exchange, string routingKey, bool mandatory, IMessage message, CancellationToken cancellationToken = default)
- Task PublishAsync<T>(IExchange exchange, string routingKey, bool mandatory, IMessage<T> message, CancellationToken cancellationToken = default)
- Task PublishAsync(IExchange exchange, string routingKey, bool mandatory, MessageProperties messageProperties, byte[] body, CancellationToken cancellationToken = default)
- Task<IQueue> QueueDeclareAsync(string name, Action<IQueueDeclareConfiguration> configure, CancellationToken cancellationToken = default)
- Task<IQueue> QueueDeclareAsync(CancellationToken cancellationToken = default)
- Task QueueDeclarePassiveAsync(string name, CancellationToken cancellationToken = default)
- Task QueueDeleteAsync(IQueue queue, bool ifUnused = false, bool ifEmpty = false, CancellationToken cancellationToken = default)
- Task QueuePurgeAsync(IQueue queue, CancellationToken cancellationToken = default)
- Task UnbindAsync(IBinding binding, CancellationToken cancellationToken = default)
-
public interface IAdvancedPublishChannel : IDisposable
-
public interface IBasicGetResult
-
public interface IBasicGetResult<T>
-
public interface IBus : IDisposable
- bool IsConnected { get; }
- event Action Connected
- event Action Disconnected
- IPublishChannel OpenPublishChannel()
- IPublishChannel OpenPublishChannel(Action<IChannelConfiguration> configure)
- void Respond<TRequest, TResponse>(Func<TRequest, TResponse> responder)
- void Respond<TRequest, TResponse>(Func<TRequest, TResponse> responder, IDictionary<string, object> arguments)
- void RespondAsync<TRequest, TResponse>(Func<TRequest, Task<TResponse>> responder)
- void RespondAsync<TRequest, TResponse>(Func<TRequest, Task<TResponse>> responder, IDictionary<string, object> arguments)
- void Subscribe<T>(string subscriptionId, Action<T> onMessage)
- void Subscribe<T>(string subscriptionId, Action<T> onMessage, Action<ISubscriptionConfiguration<T>> configure)
- void SubscribeAsync<T>(string subscriptionId, Func<T, Task> onMessage)
- void SubscribeAsync<T>(string subscriptionId, Func<T, Task> onMessage, Action<ISubscriptionConfiguration<T>> configure)
- IPubSub PubSub { get; }
- IRpc Rpc { get; }
- IScheduler Scheduler { get; }
- ISendReceive SendReceive { get; }
-
public interface IClusterHostSelectionStrategy<T>
-
public interface IConnectionConfiguration
-
public interface IConnectionFactory
-
public interface IConsume<T>
-
public interface IConsumerErrorStrategy : IDisposable
-
public interface IConsumerFactory : IDisposable
-
public interface IConventions
-
public interface IEasyNetQLogger
-
public interface IHostConfiguration
-
public interface ICorrelationIdGenerationStrategy
-
public interface IEventBus
-
public interface IExchangeDeclareConfiguration
-
public interface IMessage
-
public interface IMessage<T> : IMessage
-
public interface IMessageDeliveryModeStrategy
-
public interface IMessageSerializationStrategy
-
public interface IPersistentConnection : IDisposable
-
public interface IPublishChannel : IDisposable
-
public interface IPublisherConfirms
-
public interface ISaga
-
public interface IPublishConfiguration
-
public interface IPubSub
-
public interface IQueueDeclareConfiguration
-
public interface IReceiveRegistration
-
public interface IRequestConfiguration
-
public interface IResponderConfiguration
-
public interface IRpc : IDisposable
-
public interface IScheduler
-
public interface ISendReceive
- AwaitableDisposable<IDisposable> ReceiveAsync<T>(string queue, Func<T, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken = default)
- AwaitableDisposable<IDisposable> ReceiveAsync(string queue, Action<IReceiveRegistration> addHandlers, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken = default)
- Task SendAsync<T>(string queue, T message, CancellationToken cancellationToken = default)
-
public interface ISerializer
-
public interface IServiceProvider
-
public interface IServiceRegister
-
public interface ISubscriptionConfiguration
-
public interface ISubscriptionResult : IDisposable
-
public interface ITypeNameSerializer
-
public class JsonSerializer : ISerializer
-
public class LegacyRpcConventions : Conventions
-
public class LegacyTypeNameSerializer : ITypeNameSerializer
-
public static class LinqExtensions
-
public class Message<T> : IMessage<T>, IMessage
-
public sealed delegate MessageCallback : MulticastDelegate
-
public static class MessageDeliveryMode
-
public class MessageDeliveryModeStrategy : IMessageDeliveryModeStrategy
-
public static class MessageFactory
-
public class MessageNotAvailableException : Exception
-
public class MessageProperties
-
public class MessageReceivedInfo
- public string Queue { get; set; }
- public MessageReceivedInfo(string consumerTag, ulong deliverTag, bool redelivered, string exchange, string routingKey, string queue)
-
public class MessageReturnedEventArgs : EventArgs
-
public class MessageReturnedInfo
-
public class PersistentConnection : IPersistentConnection, IDisposable
-
public enum PostExceptionAckStrategy
-
public class PublisherConfirms : IPublisherConfirms
-
public class QueueingConsumerFactory : IConsumerFactory, IDisposable
-
public static class PubSubExtensions
- public static void Publish<T>(this IPubSub pubSub, T message, CancellationToken cancellationToken = default)
- public static void Publish<T>(this IPubSub pubSub, T message, Action<IPublishConfiguration> configure, CancellationToken cancellationToken = default)
- public static void Publish<T>(this IPubSub pubSub, T message, string topic, CancellationToken cancellationToken = default)
- public static Task PublishAsync<T>(this IPubSub pubSub, T message, CancellationToken cancellationToken = default)
- public static Task PublishAsync<T>(this IPubSub pubSub, T message, string topic, CancellationToken cancellationToken = default)
- public static ISubscriptionResult Subscribe<T>(this IPubSub pubSub, string subscriptionId, Action<T> onMessage, CancellationToken cancellationToken = default)
- public static ISubscriptionResult Subscribe<T>(this IPubSub pubSub, string subscriptionId, Action<T> onMessage, Action<ISubscriptionConfiguration> configure, CancellationToken cancellationToken = default)
- public static ISubscriptionResult Subscribe<T>(this IPubSub pubSub, string subscriptionId, Func<T, Task> onMessage, CancellationToken cancellationToken = default)
- public static ISubscriptionResult Subscribe<T>(this IPubSub pubSub, string subscriptionId, Func<T, CancellationToken, Task> onMessage, Action<ISubscriptionConfiguration> configure, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<ISubscriptionResult> SubscribeAsync<T>(this IPubSub pubSub, string subscriptionId, Action<T> onMessage, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<ISubscriptionResult> SubscribeAsync<T>(this IPubSub pubSub, string subscriptionId, Action<T> onMessage, Action<ISubscriptionConfiguration> configure, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<ISubscriptionResult> SubscribeAsync<T>(this IPubSub pubSub, string subscriptionId, Func<T, Task> onMessage, CancellationToken cancellationToken = default)
-
public class QueueAttribute : Attribute
-
public class QueueConsumerPair
- public Action<IHandlerRegistration> AddHandlers { get; }
- public Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> OnMessage { get; }
- public IQueue Queue { get; }
- public static QueueConsumerPair Consume(IQueue queue, Action<byte[], MessageProperties, MessageReceivedInfo> onMessage)
- public static QueueConsumerPair Consume(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, Task> onMessage)
- public static QueueConsumerPair Create<T>(IQueue queue, Action<IMessage<T>, MessageReceivedInfo> onMessage)
- public static QueueConsumerPair Create<T>(IQueue queue, Func<IMessage<T>, MessageReceivedInfo, Task> onMessage)
-
public static class QueueDeclareConfigurationExtensions
-
public static class QueueMode
- public const string Default = "default"
- public const string Lazy = "lazy"
-
public class RabbitAdvancedBus : IAdvancedBus, IDisposable
- public const bool NoAck = false
- public IPersistentConnection Connection { get; }
- public IConsumerFactory ConsumerFactory { get; }
- public IServiceResolver Container { get; }
- public Func<string> GetCorrelationId { get; }
- public IEasyNetQLogger Logger { get; }
- public ISerializer Serializer { get; }
- public SerializeType SerializeType { get; }
- public event Action Connected
- public event Action Disconnected
- public RabbitAdvancedBus(IConnectionConfiguration connectionConfiguration, IConnectionFactory connectionFactory, SerializeType serializeType, ISerializer serializer, IConsumerFactory consumerFactory, IEasyNetQLogger logger, Func<string> getCorrelationId, IConventions conventions)
- public event EventHandler<BlockedEventArgs> Blocked
- public event EventHandler<ConnectedEventArgs> Connected
- public event EventHandler<DisconnectedEventArgs> Disconnected
- public event EventHandler<MessageReturnedEventArgs> MessageReturned
- public event EventHandler Unblocked
- public RabbitAdvancedBus(IPersistentConnection connection, IConsumerFactory consumerFactory, IClientCommandDispatcher clientCommandDispatcher, IPublishConfirmationListener confirmationListener, IEventBus eventBus, IHandlerCollectionFactory handlerCollectionFactory, IServiceResolver container, ConnectionConfiguration configuration, IProduceConsumeInterceptor produceConsumeInterceptor, IMessageSerializationStrategy messageSerializationStrategy, IConventions conventions, AdvancedBusEventHandlers advancedBusEventHandlers)
- public Task<IBinding> BindAsync(IExchange exchange, IQueue queue, string routingKey, CancellationToken cancellationToken)
- public Task<IBinding> BindAsync(IExchange exchange, IQueue queue, string routingKey, IDictionary<string, object> arguments, CancellationToken cancellationToken)
- public Task<IBinding> BindAsync(IExchange source, IExchange destination, string routingKey, CancellationToken cancellationToken)
- public Task<IBinding> BindAsync(IExchange source, IExchange destination, string routingKey, IDictionary<string, object> arguments, CancellationToken cancellationToken)
- public IDisposable Consume(IEnumerable<QueueConsumerPair> queueConsumerPairs, Action<IConsumerConfiguration> configure)
- public IDisposable Consume<T>(IQueue queue, Func<IMessage<T>, MessageReceivedInfo, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure)
- public IDisposable Consume(IQueue queue, Action<IHandlerRegistration> addHandlers, Action<IConsumerConfiguration> configure)
- public virtual IDisposable Consume(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure)
- protected void OnConnected()
- protected void OnDisconnected()
- public IAdvancedPublishChannel OpenPublishChannel()
- public IAdvancedPublishChannel OpenPublishChannel(Action<IChannelConfiguration> configure)
- public void Subscribe<T>(IQueue queue, Func<IMessage<T>, MessageReceivedInfo, Task> onMessage)
- public void Subscribe(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, Task> onMessage)
- public Task<IExchange> ExchangeDeclareAsync(string name, Action<IExchangeDeclareConfiguration> configure, CancellationToken cancellationToken = default)
- public Task ExchangeDeclarePassiveAsync(string name, CancellationToken cancellationToken = default)
- public virtual Task ExchangeDeleteAsync(IExchange exchange, bool ifUnused = false, CancellationToken cancellationToken = default)
- public Task<IBasicGetResult<T>> GetMessageAsync<T>(IQueue queue, CancellationToken cancellationToken)
- public Task<IBasicGetResult> GetMessageAsync(IQueue queue, CancellationToken cancellationToken)
- public Task<uint> GetMessagesCountAsync(IQueue queue, CancellationToken cancellationToken)
- public virtual Task PublishAsync(IExchange exchange, string routingKey, bool mandatory, IMessage message, CancellationToken cancellationToken)
- public virtual Task PublishAsync<T>(IExchange exchange, string routingKey, bool mandatory, IMessage<T> message, CancellationToken cancellationToken)
- public virtual Task PublishAsync(IExchange exchange, string routingKey, bool mandatory, MessageProperties messageProperties, byte[] body, CancellationToken cancellationToken)
- public Task<IQueue> QueueDeclareAsync(CancellationToken cancellationToken)
- public Task<IQueue> QueueDeclareAsync(string name, Action<IQueueDeclareConfiguration> configure, CancellationToken cancellationToken = default)
- public Task QueueDeclarePassiveAsync(string name, CancellationToken cancellationToken = default)
- public virtual Task QueueDeleteAsync(IQueue queue, bool ifUnused = false, bool ifEmpty = false, CancellationToken cancellationToken = default)
- public virtual Task QueuePurgeAsync(IQueue queue, CancellationToken cancellationToken)
- public virtual Task UnbindAsync(IBinding binding, CancellationToken cancellationToken)
-
public class RabbitAdvancedPublishChannel : IAdvancedPublishChannel, IDisposable
-
public class RabbitBus : IBus, IDisposable
- public const string RpcExchange = "easy_net_q_rpc"
- public IConventions Conventions { get; }
- public bool IsConnected { get; }
- public IEasyNetQLogger Logger { get; }
- public SerializeType SerializeType { get; }
- public event Action Connected
- public event Action Disconnected
- public RabbitBus(SerializeType serializeType, IEasyNetQLogger logger, IConventions conventions, IAdvancedBus advancedBus)
- public IPubSub PubSub { get; }
- public IRpc Rpc { get; }
- public IScheduler Scheduler { get; }
- public ISendReceive SendReceive { get; }
- public RabbitBus(IAdvancedBus advanced, IPubSub pubSub, IRpc rpc, ISendReceive sendReceive, IScheduler scheduler)
- protected void OnConnected()
- protected void OnDisconnected()
- public IPublishChannel OpenPublishChannel()
- public IPublishChannel OpenPublishChannel(Action<IChannelConfiguration> configure)
- public void Respond<TRequest, TResponse>(Func<TRequest, TResponse> responder)
- public void Respond<TRequest, TResponse>(Func<TRequest, TResponse> responder, IDictionary<string, object> arguments)
- public void RespondAsync<TRequest, TResponse>(Func<TRequest, Task<TResponse>> responder)
- public void RespondAsync<TRequest, TResponse>(Func<TRequest, Task<TResponse>> responder, IDictionary<string, object> arguments)
- public void Subscribe<T>(string subscriptionId, Action<T> onMessage)
- public void Subscribe<T>(string subscriptionId, Action<T> onMessage, Action<ISubscriptionConfiguration<T>> configure)
- public void SubscribeAsync<T>(string subscriptionId, Func<T, Task> onMessage)
- public void SubscribeAsync<T>(string subscriptionId, Func<T, Task> onMessage, Action<ISubscriptionConfiguration<T>> configure)
-
public static class RabbitHutch
- public static IBus CreateBus(string connectionString, Action<IServiceRegister> registerServices)
- public static IBus CreateBus(string hostName, ushort hostPort, string virtualHost, string username, string password, ushort requestedHeartbeat, Action<IServiceRegister> registerServices)
- public static IBus CreateBus(IConnectionConfiguration connectionConfiguration, Action<IServiceRegister> registerServices)
- public static IBus CreateBus()
- public static IBus CreateBus(string connectionString, Action<IServiceRegister> registerServices)
- public static IBus CreateBus(string hostName, ushort hostPort, string virtualHost, string username, string password, TimeSpan requestedHeartbeat, Action<IServiceRegister> registerServices)
- public static IBus CreateBus(ConnectionConfiguration connectionConfiguration, Action<IServiceRegister> registerServices)
- public static IBus CreateBus(Func<IServiceResolver, ConnectionConfiguration> connectionConfigurationFactory, Action<IServiceRegister> registerServices)
- public static void RegisterBus(IServiceRegister serviceRegister, Func<IServiceResolver, ConnectionConfiguration> connectionConfigurationFactory, Action<IServiceRegister> registerServices)
-
public class RabbitPublishChannel : IPublishChannel, IDisposable
-
public sealed delegate SerializeType : MulticastDelegate
-
public class SubscriptionAction
-
public class SubscriptionInfo
-
public sealed delegate SubsriberNameFromDelegate : MulticastDelegate
-
public static class ReceiveRegistrationExtensions
-
public static class ReflectionHelpers
-
public sealed delegate RpcExchangeNameConvention : MulticastDelegate
-
public static class RpcExtensions
- public static TResponse Request<TRequest, TResponse>(this IRpc rpc, TRequest request, CancellationToken cancellationToken = default)
- public static TResponse Request<TRequest, TResponse>(this IRpc rpc, TRequest request, Action<IRequestConfiguration> configure, CancellationToken cancellationToken = default)
- public static Task<TResponse> RequestAsync<TRequest, TResponse>(this IRpc rpc, TRequest request, CancellationToken cancellationToken = default)
- public static IDisposable Respond<TRequest, TResponse>(this IRpc rpc, Func<TRequest, Task<TResponse>> responder, CancellationToken cancellationToken = default)
- public static IDisposable Respond<TRequest, TResponse>(this IRpc rpc, Func<TRequest, TResponse> responder, CancellationToken cancellationToken = default)
- public static IDisposable Respond<TRequest, TResponse>(this IRpc rpc, Func<TRequest, Task<TResponse>> responder, Action<IResponderConfiguration> configure, CancellationToken cancellationToken = default)
- public static IDisposable Respond<TRequest, TResponse>(this IRpc rpc, Func<TRequest, CancellationToken, Task<TResponse>> responder, Action<IResponderConfiguration> configure, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<IDisposable> RespondAsync<TRequest, TResponse>(this IRpc rpc, Func<TRequest, TResponse> responder, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<IDisposable> RespondAsync<TRequest, TResponse>(this IRpc rpc, Func<TRequest, Task<TResponse>> responder, CancellationToken cancellationToken = default)
-
public sealed delegate RpcReturnQueueNamingConvention : MulticastDelegate
-
public sealed delegate RpcRoutingKeyNamingConvention : MulticastDelegate
-
public static class SchedulerExtensions
- public static void FuturePublish<T>(this IScheduler scheduler, T message, TimeSpan delay, string topic, CancellationToken cancellationToken = default)
- public static void FuturePublish<T>(this IScheduler scheduler, T message, TimeSpan delay, CancellationToken cancellationToken = default)
- public static Task FuturePublishAsync<T>(this IScheduler scheduler, T message, TimeSpan delay, CancellationToken cancellationToken = default)
-
public static class SendReceiveExtensions
- public static IDisposable Receive<T>(this ISendReceive sendReceive, string queue, Action<T> onMessage, CancellationToken cancellationToken = default)
- public static IDisposable Receive<T>(this ISendReceive sendReceive, string queue, Action<T> onMessage, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken = default)
- public static IDisposable Receive<T>(this ISendReceive sendReceive, string queue, Func<T, Task> onMessage, CancellationToken cancellationToken = default)
- public static IDisposable Receive<T>(this ISendReceive sendReceive, string queue, Func<T, CancellationToken, Task> onMessage, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken = default)
- public static IDisposable Receive(this ISendReceive sendReceive, string queue, Action<IReceiveRegistration> addHandlers, CancellationToken cancellationToken = default)
- public static IDisposable Receive(this ISendReceive sendReceive, string queue, Action<IReceiveRegistration> addHandlers, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<IDisposable> ReceiveAsync<T>(this ISendReceive sendReceive, string queue, Action<T> onMessage, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<IDisposable> ReceiveAsync<T>(this ISendReceive sendReceive, string queue, Action<T> onMessage, Action<IConsumerConfiguration> configure, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<IDisposable> ReceiveAsync<T>(this ISendReceive sendReceive, string queue, Func<T, Task> onMessage, CancellationToken cancellationToken = default)
- public static AwaitableDisposable<IDisposable> ReceiveAsync(this ISendReceive sendReceive, string queue, Action<IReceiveRegistration> addHandlers, CancellationToken cancellationToken = default)
- public static void Send<T>(this ISendReceive sendReceive, string queue, T message, CancellationToken cancellationToken = default)
-
public class SerializedMessage
-
public static class ServiceRegisterExtensions
-
public sealed class SubscriptionResult : ISubscriptionResult, IDisposable
-
public class TypeNameSerializer
EasyNetQ.AutoSubscribe
EasyNetQ.ConnectionString
EasyNetQ.Consumer
-
public static class AckStrategies
-
public sealed delegate AckStrategy : MulticastDelegate
-
public class Base64ErrorMessageSerializer : IErrorMessageSerializer
-
public class BasicConsumer : IBasicConsumer, IDisposable
- public string ConsumerTag { get; }
- public IModel Model { get; }
- public Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> OnMessage { get; }
- public IQueue Queue { get; }
- public event EventHandler<ConsumerEventArgs> ConsumerCancelled
- public BasicConsumer(Action<BasicConsumer> cancelled, IConsumerDispatcher consumerDispatcher, IQueue queue, IEventBus eventBus, IHandlerRunner handlerRunner, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, IModel model)
- public void Dispose()
- public void HandleBasicCancel(string consumerTag)
- public void HandleBasicCancelOk(string consumerTag)
- public void HandleBasicConsumeOk(string consumerTag)
- public void HandleBasicDeliver(string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, ReadOnlyMemory<byte> body)
- public void HandleModelShutdown(object model, ShutdownEventArgs reason)
-
public class ConsumerCancellation : IDisposable
-
public class ConsumerConfiguration : IConsumerConfiguration
-
public class ConsumerDispatcher : IConsumerDispatcher, IDisposable
-
public class ConsumerDispatcherFactory : IConsumerDispatcherFactory, IDisposable
-
public class ConsumerExecutionContext
- public byte[] Body { get; }
- public MessageReceivedInfo Info { get; }
- public MessageProperties Properties { get; }
- public Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> UserHandler { get; }
- public ConsumerExecutionContext(Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> userHandler, MessageReceivedInfo info, MessageProperties properties, byte[] body)
-
public class ConsumerFactory : IConsumerFactory, IDisposable
- public ConsumerFactory(IPersistentConnection connection, IInternalConsumerFactory internalConsumerFactory, IEventBus eventBus)
- public IConsumer CreateConsumer(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, IConsumerConfiguration configuration)
- public IConsumer CreateConsumer(ICollection<Tuple<IQueue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task>>> queueConsumerPairs, IConsumerConfiguration configuration)
- public void Dispose()
-
public class DefaultConsumerErrorStrategy : IConsumerErrorStrategy, IDisposable
-
public class DefaultErrorMessageSerializer : IErrorMessageSerializer
-
public class ExclusiveConsumer : IConsumer, IDisposable
-
public class HandlerCollection : IHandlerCollection, IHandlerRegistration
-
public class HandlerCollectionFactory : IHandlerCollectionFactory
-
public class HandlerCollectionPerQueueFactory : IHandlerCollectionFactory
-
public static class HandlerRegistrationExtensions
-
public class HandlerRunner : IHandlerRunner, IDisposable
-
public interface IConsumer : IDisposable
-
public interface IConsumerConfiguration
-
public interface IConsumerDispatcher : IDisposable
-
public interface IConsumerDispatcherFactory : IDisposable
-
public interface IConsumerErrorStrategy : IDisposable
-
public interface IConsumerFactory : IDisposable
- IConsumer CreateConsumer(ICollection<Tuple<IQueue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task>>> queueConsumerPairs, IConsumerConfiguration configuration)
- IConsumer CreateConsumer(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, IConsumerConfiguration configuration)
-
public interface IErrorMessageSerializer
-
public interface IHandlerCollection : IHandlerRegistration
-
public interface IHandlerCollectionFactory
-
public interface IHandlerRegistration
-
public interface IHandlerRunner : IDisposable
-
public interface IInternalConsumer : IDisposable
- event Action<IInternalConsumer> Cancelled
- StartConsumingStatus StartConsuming(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, IConsumerConfiguration configuration)
- StartConsumingStatus StartConsuming(ICollection<Tuple<IQueue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task>>> queueConsumerPairs, IConsumerConfiguration configuration)
-
public interface IInternalConsumerFactory : IDisposable
-
public class InternalConsumer : IInternalConsumer, IDisposable
- public IModel Model { get; }
- public event Action<IInternalConsumer> Cancelled
- public InternalConsumer(IPersistentConnection connection, IHandlerRunner handlerRunner, IConsumerDispatcher consumerDispatcher, IConventions conventions, IEventBus eventBus)
- public void Dispose()
- public StartConsumingStatus StartConsuming(ICollection<Tuple<IQueue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task>>> queueConsumerPairs, IConsumerConfiguration configuration)
- public StartConsumingStatus StartConsuming(IQueue queue, Func<byte[], MessageProperties, MessageReceivedInfo, CancellationToken, Task> onMessage, IConsumerConfiguration configuration)
-
public class InternalConsumerFactory : IInternalConsumerFactory, IDisposable
-
public class PersistentConsumer : IConsumer, IDisposable
-
public class PersistentMultipleConsumer : IConsumer, IDisposable
-
public enum StartConsumingStatus
-
public class TransientConsumer : IConsumer, IDisposable
EasyNetQ.DI
EasyNetQ.Events
EasyNetQ.FluentConfiguration
EasyNetQ.Interception
EasyNetQ.Internals
-
public sealed class AsyncCache<TKey, TValue> : IDisposable
-
public sealed class AsyncLock : IDisposable
-
public sealed class AsyncQueue<T> : IDisposable
-
public struct AwaitableDisposable<T> where T : IDisposable
-
public static class AwaitableDisposableExtensions
-
public static class CancellationTokenExtensions
-
public static class ConcurrentDictionaryExtensions
-
public sealed class ConcurrentSet<T> : IEnumerable<T>, IEnumerable
-
public static class DisposableAction
-
public struct DisposableAction<TState> : IDisposable
-
public static class StringExtensions
- public static string Trim(this string s, int start, int length)
-
public static class TaskHelpers
- public static void AttachCancellation<T>(this TaskCompletionSource<T> taskCompletionSource, CancellationToken cancellationToken)
- public static Func<T1, T2, T3, CancellationToken, Task> FromAction<T1, T2, T3>(Action<T1, T2, T3, CancellationToken> action)
- public static Func<T1, T2, CancellationToken, Task> FromAction<T1, T2>(Action<T1, T2, CancellationToken> action)
- public static Func<T1, CancellationToken, Task> FromAction<T1>(Action<T1, CancellationToken> action)
- public static Func<T1, CancellationToken, Task<T2>> FromFunc<T1, T2>(Func<T1, CancellationToken, T2> func)
-
public static class Timers
EasyNetQ.LightInject
-
public class AssemblyScanner : IAssemblyScanner
- public (ITypeExtractor concreteTypeExtractor, ITypeExtractor compositionRootTypeExtractor, ICompositionRootExecutor compositionRootExecutor, IGenericArgumentMapper genericArgumentMapper)
- public void Scan(Assembly assembly, IServiceRegistry serviceRegistry, Func<ILifetime> lifetimeFactory, Func<Type, Type, bool> shouldRegister, Func<Type, Type, string> serviceNameProvider)
- public void Scan(Assembly assembly, IServiceRegistry serviceRegistry)
-
public class : ITypeExtractor
-
public class : ICompositionRootAttributeExtractor
-
public class CompositionRootExecutor : ICompositionRootExecutor
-
public class CompositionRootTypeAttribute : Attribute
-
public class : ITypeExtractor
-
public class : ITypeExtractor
-
public class ConstructionInfo
-
public class ConstructionInfoProvider : IConstructionInfoProvider
-
public class ConstructorDependency : Dependency
-
public class ConstructorDependencySelector : IConstructorDependencySelector
-
public class ContainerOptions
-
public class DecoratorRegistration : Registration
-
public abstract class Dependency
-
public class DynamicMethod
-
public class Emitter : IEmitter
-
public static class EmitterExtensions
- public static void Call(this IEmitter emitter, MethodInfo methodInfo)
- public static void Cast(this IEmitter emitter, Type type)
- public static void New(this IEmitter emitter, ConstructorInfo constructorInfo)
- public static void Push(this IEmitter emitter, LocalBuilder localBuilder)
- public static void Push(this IEmitter emitter, int value)
- public static void PushArgument(this IEmitter emitter, int index)
- public static void PushArguments(this IEmitter emitter, ParameterInfo[] parameters)
- public static void PushArrayElement(this IEmitter emitter)
- public static void PushConstant(this IEmitter emitter, int index, Type type)
- public static void PushConstant(this IEmitter emitter, int index)
- public static void PushNewArray(this IEmitter emitter, Type elementType)
- public static void Return(this IEmitter emitter)
- public static void Store(this IEmitter emitter, LocalBuilder localBuilder)
- public static void UnboxOrCast(this IEmitter emitter, Type type)
-
public static class Ensure
- public static void IsNotNull<T>(T value, string paramName)
-
public class ExcludeFromCodeCoverageAttribute : Attribute
-
public class GenericArgumentMapper : IGenericArgumentMapper
-
public class GenericMappingResult
-
public interface IAssemblyScanner
-
public interface ICompositionRoot
-
public interface
-
public interface ICompositionRootExecutor
-
public interface IConstructionInfoBuilder
-
public interface IConstructionInfoProvider
-
public interface IConstructorDependencySelector
-
public interface IConstructorSelector
-
public interface IEmitter
-
public interface IGenericArgumentMapper
-
public class ILGenerator
-
public interface ILifetime
-
public interface IMethodSkeleton
-
public sealed class ImmutableHashTable<TKey, TValue>
-
public static class ImmutableHashTableExtensions
-
public sealed class ImmutableHashTree<TKey, TValue>
- public static readonly ImmutableHashTree<TKey, TValue> Empty
- public readonly ImmutableList<KeyValue<TKey, TValue>> Duplicates
- public readonly int HashCode
- public readonly int Height
- public readonly bool IsEmpty
- public readonly TKey Key
- public readonly ImmutableHashTree<TKey, TValue> Left
- public readonly ImmutableHashTree<TKey, TValue> Right
- public readonly TValue Value
- public ImmutableHashTree(TKey key, TValue value, ImmutableHashTree<TKey, TValue> hashTree)
- public ImmutableHashTree(TKey key, TValue value, ImmutableHashTree<TKey, TValue> left, ImmutableHashTree<TKey, TValue> right)
-
public static class ImmutableHashTreeExtensions
- public static ImmutableHashTree<TKey, TValue> Add<TKey, TValue>(this ImmutableHashTree<TKey, TValue> tree, TKey key, TValue value)
- public static IEnumerable<KeyValue<TKey, TValue>> InOrder<TKey, TValue>(this ImmutableHashTree<TKey, TValue> hashTree)
- public static TValue Search<TKey, TValue>(this ImmutableHashTree<TKey, TValue> tree, TKey key)
-
public sealed class ImmutableList<T>
-
public class Instruction
-
public class Instruction<T> : Instruction
-
public interface IPropertyDependencySelector
-
public interface IPropertySelector
-
public interface IScopeManager
-
public interface IScopeManagerProvider
-
public interface IServiceContainer : IServiceRegistry, IServiceFactory, IDisposable
-
public interface IServiceFactory
-
public interface IServiceNameProvider
-
public interface IServiceRegistry
- IEnumerable<ServiceRegistration> AvailableServices { get; }
- IServiceRegistry Decorate(Type serviceType, Type decoratorType, Func<ServiceRegistration, bool> predicate)
- IServiceRegistry Decorate(Type serviceType, Type decoratorType)
- IServiceRegistry Decorate<TService, TDecorator>() where TDecorator : TService
- IServiceRegistry Decorate<TService>(Func<IServiceFactory, TService, TService> factory)
- IServiceRegistry Decorate(DecoratorRegistration decoratorRegistration)
- IServiceRegistry Initialize(Func<ServiceRegistration, bool> predicate, Action<IServiceFactory, object> processor)
- IServiceRegistry Override(Func<ServiceRegistration, bool> serviceSelector, Func<IServiceFactory, ServiceRegistration, ServiceRegistration> serviceRegistrationFactory)
- IServiceRegistry Register(Type serviceType, Type implementingType)
- IServiceRegistry Register(Type serviceType, Type implementingType, ILifetime lifetime)
- IServiceRegistry Register(Type serviceType, Type implementingType, string serviceName)
- IServiceRegistry Register(Type serviceType, Type implementingType, string serviceName, ILifetime lifetime)
- IServiceRegistry Register<TService, TImplementation>() where TImplementation : TService
- IServiceRegistry Register<TService, TImplementation>(ILifetime lifetime) where TImplementation : TService
- IServiceRegistry Register<TService, TImplementation>(string serviceName) where TImplementation : TService
- IServiceRegistry Register<TService, TImplementation>(string serviceName, ILifetime lifetime) where TImplementation : TService
- IServiceRegistry Register<TService>()
- IServiceRegistry Register<TService>(ILifetime lifetime)
- IServiceRegistry Register(Type serviceType)
- IServiceRegistry Register(Type serviceType, ILifetime lifetime)
- IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory)
- IServiceRegistry Register<T, TService>(Func<IServiceFactory, T, TService> factory)
- IServiceRegistry Register<T, TService>(Func<IServiceFactory, T, TService> factory, string serviceName)
- IServiceRegistry Register<T1, T2, TService>(Func<IServiceFactory, T1, T2, TService> factory)
- IServiceRegistry Register<T1, T2, TService>(Func<IServiceFactory, T1, T2, TService> factory, string serviceName)
- IServiceRegistry Register<T1, T2, T3, TService>(Func<IServiceFactory, T1, T2, T3, TService> factory)
- IServiceRegistry Register<T1, T2, T3, TService>(Func<IServiceFactory, T1, T2, T3, TService> factory, string serviceName)
- IServiceRegistry Register<T1, T2, T3, T4, TService>(Func<IServiceFactory, T1, T2, T3, T4, TService> factory)
- IServiceRegistry Register<T1, T2, T3, T4, TService>(Func<IServiceFactory, T1, T2, T3, T4, TService> factory, string serviceName)
- IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory, ILifetime lifetime)
- IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory, string serviceName)
- IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory, string serviceName, ILifetime lifetime)
- IServiceRegistry Register(ServiceRegistration serviceRegistration)
- IServiceRegistry RegisterAssembly(Assembly assembly)
- IServiceRegistry RegisterAssembly(Assembly assembly, Func<Type, Type, bool> shouldRegister)
- IServiceRegistry RegisterAssembly(Assembly assembly, Func<ILifetime> lifetimeFactory)
- IServiceRegistry RegisterAssembly(Assembly assembly, Func<ILifetime> lifetimeFactory, Func<Type, Type, bool> shouldRegister)
- IServiceRegistry RegisterAssembly(Assembly assembly, Func<ILifetime> lifetimeFactory, Func<Type, Type, bool> shouldRegister, Func<Type, Type, string> serviceNameProvider)
- IServiceRegistry RegisterConstructorDependency<TDependency>(Func<IServiceFactory, ParameterInfo, TDependency> factory)
- IServiceRegistry RegisterConstructorDependency<TDependency>(Func<IServiceFactory, ParameterInfo, object[], TDependency> factory)
- IServiceRegistry RegisterFallback(Func<Type, string, bool> predicate, Func<ServiceRequest, object> factory)
- IServiceRegistry RegisterFallback(Func<Type, string, bool> predicate, Func<ServiceRequest, object> factory, ILifetime lifetime)
- IServiceRegistry RegisterFrom<TCompositionRoot>() where TCompositionRoot : ICompositionRoot
- IServiceRegistry RegisterInstance<TService>(TService instance)
- IServiceRegistry RegisterInstance<TService>(TService instance, string serviceName)
- IServiceRegistry RegisterInstance(Type serviceType, object instance)
- IServiceRegistry RegisterInstance(Type serviceType, object instance, string serviceName)
- IServiceRegistry RegisterOrdered(Type serviceType, Type[] implementingTypes, Func<Type, ILifetime> lifetimeFactory)
- IServiceRegistry RegisterOrdered(Type serviceType, Type[] implementingTypes, Func<Type, ILifetime> lifeTimeFactory, Func<int, string> serviceNameFormatter)
- IServiceRegistry RegisterPropertyDependency<TDependency>(Func<IServiceFactory, PropertyInfo, TDependency> factory)
- IServiceRegistry SetDefaultLifetime<T>() where T : ILifetime
-
public interface ITypeConstructionInfoBuilder
-
public interface
-
public sealed class KeyValue<TKey, TValue>
- public readonly TKey Key
- public readonly TValue Value
- public KeyValue(TKey key, TValue value)
-
public class LocalBuilder
-
public class LogEntry
-
public static class LogExtensions
-
public class LogicalThreadStorage<T>
-
public enum LogLevel
-
public class MostResolvableConstructorSelector : IConstructorSelector
-
public class PerContainerLifetime : ILifetime, IDisposable
-
public class PerLogicalCallContextScopeManager : ScopeManager
-
public class PerLogicalCallContextScopeManagerProvider : ScopeManagerProvider
-
public class PerRequestLifeTime : ILifetime
-
public class PerScopeLifetime : ILifetime
-
public class PerThreadScopeManager : ScopeManager
-
public class PerThreadScopeManagerProvider : ScopeManagerProvider
-
public class PropertyDependency : Dependency
-
public class PropertyDependencySelector : IPropertyDependencySelector
-
public class PropertySelector : IPropertySelector
-
public abstract class Registration
-
public static class RuntimeArgumentsLoader
- public static object[] Load(object[] constants)
-
public class Scope : IServiceFactory, IDisposable
-
public abstract class ScopeManager : IScopeManager
-
public abstract class ScopeManagerProvider : IScopeManagerProvider
-
public class ServiceContainer : IServiceContainer, IServiceRegistry, IServiceFactory, IDisposable
- public IAssemblyScanner AssemblyScanner { get; set; }
- public IEnumerable<ServiceRegistration> AvailableServices { get; }
- public ICompositionRootExecutor CompositionRootExecutor { get; set; }
- public ITypeExtractor { get; set; }
- public IConstructorDependencySelector ConstructorDependencySelector { get; set; }
- public IConstructorSelector ConstructorSelector { get; set; }
- public IGenericArgumentMapper GenericArgumentMapper { get; set; }
- public IPropertyDependencySelector PropertyDependencySelector { get; set; }
- public IScopeManagerProvider ScopeManagerProvider { get; set; }
- public IServiceNameProvider ServiceNameProvider { get; set; }
- public ServiceContainer()
- public ServiceContainer(ContainerOptions options)
- public Scope BeginScope()
- public bool CanGetInstance(Type serviceType, string serviceName)
- public ServiceContainer Clone()
- public object Create(Type serviceType)
- public IServiceRegistry Decorate(Type serviceType, Type decoratorType, Func<ServiceRegistration, bool> predicate)
- public IServiceRegistry Decorate(Type serviceType, Type decoratorType)
- public IServiceRegistry Decorate<TService, TDecorator>() where TDecorator : TService
- public IServiceRegistry Decorate<TService>(Func<IServiceFactory, TService, TService> factory)
- public IServiceRegistry Decorate(DecoratorRegistration decoratorRegistration)
- public void Dispose()
- public IEnumerable<object> GetAllInstances(Type serviceType)
- public object GetInstance(Type serviceType)
- public object GetInstance(Type serviceType, object[] arguments)
- public object GetInstance(Type serviceType, string serviceName, object[] arguments)
- public object GetInstance(Type serviceType, string serviceName)
- public IServiceRegistry Initialize(Func<ServiceRegistration, bool> predicate, Action<IServiceFactory, object> processor)
- public object InjectProperties(object instance)
- public IServiceRegistry Override(Func<ServiceRegistration, bool> serviceSelector, Func<IServiceFactory, ServiceRegistration, ServiceRegistration> serviceRegistrationFactory)
- public IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory, string serviceName, ILifetime lifetime)
- public IServiceRegistry Register(ServiceRegistration serviceRegistration)
- public IServiceRegistry Register(Type serviceType, Type implementingType, ILifetime lifetime)
- public IServiceRegistry Register(Type serviceType, Type implementingType, string serviceName, ILifetime lifetime)
- public IServiceRegistry Register<TService, TImplementation>() where TImplementation : TService
- public IServiceRegistry Register<TService, TImplementation>(ILifetime lifetime) where TImplementation : TService
- public IServiceRegistry Register<TService, TImplementation>(string serviceName) where TImplementation : TService
- public IServiceRegistry Register<TService, TImplementation>(string serviceName, ILifetime lifetime) where TImplementation : TService
- public IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory, ILifetime lifetime)
- public IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory, string serviceName)
- public IServiceRegistry Register<TService>()
- public IServiceRegistry Register(Type serviceType)
- public IServiceRegistry Register(Type serviceType, ILifetime lifetime)
- public IServiceRegistry Register<TService>(ILifetime lifetime)
- public IServiceRegistry Register<TService>(Func<IServiceFactory, TService> factory)
- public IServiceRegistry Register<T, TService>(Func<IServiceFactory, T, TService> factory)
- public IServiceRegistry Register<T, TService>(Func<IServiceFactory, T, TService> factory, string serviceName)
- public IServiceRegistry Register<T1, T2, TService>(Func<IServiceFactory, T1, T2, TService> factory)
- public IServiceRegistry Register<T1, T2, TService>(Func<IServiceFactory, T1, T2, TService> factory, string serviceName)
- public IServiceRegistry Register<T1, T2, T3, TService>(Func<IServiceFactory, T1, T2, T3, TService> factory)
- public IServiceRegistry Register<T1, T2, T3, TService>(Func<IServiceFactory, T1, T2, T3, TService> factory, string serviceName)
- public IServiceRegistry Register<T1, T2, T3, T4, TService>(Func<IServiceFactory, T1, T2, T3, T4, TService> factory)
- public IServiceRegistry Register<T1, T2, T3, T4, TService>(Func<IServiceFactory, T1, T2, T3, T4, TService> factory, string serviceName)
- public IServiceRegistry Register(Type serviceType, Type implementingType, string serviceName)
- public IServiceRegistry Register(Type serviceType, Type implementingType)
- public IServiceRegistry RegisterAssembly(Assembly assembly)
- public IServiceRegistry RegisterAssembly(Assembly assembly, Func<Type, Type, bool> shouldRegister)
- public IServiceRegistry RegisterAssembly(Assembly assembly, Func<ILifetime> lifetimeFactory)
- public IServiceRegistry RegisterAssembly(Assembly assembly, Func<ILifetime> lifetimeFactory, Func<Type, Type, bool> shouldRegister)
- public IServiceRegistry RegisterAssembly(Assembly assembly, Func<ILifetime> lifetimeFactory, Func<Type, Type, bool> shouldRegister, Func<Type, Type, string> serviceNameProvider)
- public IServiceRegistry RegisterConstructorDependency<TDependency>(Func<IServiceFactory, ParameterInfo, TDependency> factory)
- public IServiceRegistry RegisterConstructorDependency<TDependency>(Func<IServiceFactory, ParameterInfo, object[], TDependency> factory)
- public IServiceRegistry RegisterFallback(Func<Type, string, bool> predicate, Func<ServiceRequest, object> factory)
- public IServiceRegistry RegisterFallback(Func<Type, string, bool> predicate, Func<ServiceRequest, object> factory, ILifetime lifetime)
- public IServiceRegistry RegisterFrom<TCompositionRoot>() where TCompositionRoot : ICompositionRoot
- public IServiceRegistry RegisterInstance<TService>(TService instance, string serviceName)
- public IServiceRegistry RegisterInstance<TService>(TService instance)
- public IServiceRegistry RegisterInstance(Type serviceType, object instance)
- public IServiceRegistry RegisterInstance(Type serviceType, object instance, string serviceName)
- public IServiceRegistry RegisterOrdered(Type serviceType, Type[] implementingTypes, Func<Type, ILifetime> lifeTimeFactory)
- public IServiceRegistry RegisterOrdered(Type serviceType, Type[] implementingTypes, Func<Type, ILifetime> lifeTimeFactory, Func<int, string> serviceNameFormatter)
- public IServiceRegistry RegisterPropertyDependency<TDependency>(Func<IServiceFactory, PropertyInfo, TDependency> factory)
- public IServiceRegistry SetDefaultLifetime<T>() where T : ILifetime
- public object TryGetInstance(Type serviceType)
- public object TryGetInstance(Type serviceType, string serviceName)
-
public static class ServiceFactoryExtensions
- public static TService Create<TService>(this IServiceFactory factory)
- public static IEnumerable<TService> GetAllInstances<TService>(this IServiceFactory factory)
- public static TService GetInstance<TService>(this IServiceFactory factory)
- public static TService GetInstance<TService>(this IServiceFactory factory, string serviceName)
- public static TService GetInstance<T, TService>(this IServiceFactory factory, T value)
- public static TService GetInstance<T, TService>(this IServiceFactory factory, T value, string serviceName)
- public static TService GetInstance<T1, T2, TService>(this IServiceFactory factory, T1 arg1, T2 arg2)
- public static TService GetInstance<T1, T2, TService>(this IServiceFactory factory, T1 arg1, T2 arg2, string serviceName)
- public static TService GetInstance<T1, T2, T3, TService>(this IServiceFactory factory, T1 arg1, T2 arg2, T3 arg3)
- public static TService GetInstance<T1, T2, T3, TService>(this IServiceFactory factory, T1 arg1, T2 arg2, T3 arg3, string serviceName)
- public static TService GetInstance<T1, T2, T3, T4, TService>(this IServiceFactory factory, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
- public static TService GetInstance<T1, T2, T3, T4, TService>(this IServiceFactory factory, T1 arg1, T2 arg2, T3 arg3, T4 arg4, string serviceName)
- public static TService TryGetInstance<TService>(this IServiceFactory factory)
- public static TService TryGetInstance<TService>(this IServiceFactory factory, string serviceName)
-
public class ServiceNameProvider : IServiceNameProvider
-
public class ServiceRegistration : Registration
-
public class ServiceRequest
-
public class ThreadSafeDictionary<TKey, TValue> : ConcurrentDictionary<TKey, TValue>
-
public class TypeConstructionInfoBuilder : IConstructionInfoBuilder
EasyNetQ.Loggers
EasyNetQ.Logging
-
public class ConsoleLogProvider : ILogProvider
-
public interface ILog
-
public interface ILogProvider
-
public static class LogExtensions
- public static void Debug(this ILog logger, Func<string> messageFunc)
- public static void Debug(this ILog logger, string message)
- public static void Debug(this ILog logger, string message, object[] args)
- public static void Debug(this ILog logger, Exception exception, string message, object[] args)
- public static void DebugException(this ILog logger, string message, Exception exception)
- public static void DebugException(this ILog logger, string message, Exception exception, object[] args)
- public static void DebugFormat(this ILog logger, string message, object[] args)
- public static void Error(this ILog logger, Func<string> messageFunc)
- public static void Error(this ILog logger, string message)
- public static void Error(this ILog logger, string message, object[] args)
- public static void Error(this ILog logger, Exception exception, string message, object[] args)
- public static void ErrorException(this ILog logger, string message, Exception exception, object[] args)
- public static void ErrorFormat(this ILog logger, string message, object[] args)
- public static void Fatal(this ILog logger, Func<string> messageFunc)
- public static void Fatal(this ILog logger, string message)
- public static void Fatal(this ILog logger, string message, object[] args)
- public static void Fatal(this ILog logger, Exception exception, string message, object[] args)
- public static void FatalException(this ILog logger, string message, Exception exception, object[] args)
- public static void FatalFormat(this ILog logger, string message, object[] args)
- public static void Info(this ILog logger, Func<string> messageFunc)
- public static void Info(this ILog logger, string message)
- public static void Info(this ILog logger, string message, object[] args)
- public static void Info(this ILog logger, Exception exception, string message, object[] args)
- public static void InfoException(this ILog logger, string message, Exception exception, object[] args)
- public static void InfoFormat(this ILog logger, string message, object[] args)
- public static bool IsDebugEnabled(this ILog logger)
- public static bool IsErrorEnabled(this ILog logger)
- public static bool IsFatalEnabled(this ILog logger)
- public static bool IsInfoEnabled(this ILog logger)
- public static bool IsTraceEnabled(this ILog logger)
- public static bool IsWarnEnabled(this ILog logger)
- public static void Trace(this ILog logger, Func<string> messageFunc)
- public static void Trace(this ILog logger, string message)
- public static void Trace(this ILog logger, string message, object[] args)
- public static void Trace(this ILog logger, Exception exception, string message, object[] args)
- public static void TraceException(this ILog logger, string message, Exception exception, object[] args)
- public static void TraceFormat(this ILog logger, string message, object[] args)
- public static void Warn(this ILog logger, Func<string> messageFunc)
- public static void Warn(this ILog logger, string message)
- public static void Warn(this ILog logger, string message, object[] args)
- public static void Warn(this ILog logger, Exception exception, string message, object[] args)
- public static void WarnException(this ILog logger, string message, Exception exception, object[] args)
- public static void WarnFormat(this ILog logger, string message, object[] args)
-
public sealed delegate Logger : MulticastDelegate
-
public enum LogLevel
-
public static class LogProvider
EasyNetQ.Logging.LogProviders
EasyNetQ.MessageVersioning
EasyNetQ.MultipleExchange
EasyNetQ.Producer
EasyNetQ.SystemMessages
EasyNetQ.Topology
-
public sealed class Binding : IBinding
-
public class DefaultExchange : Exchange
-
public sealed class Exchange : IExchange, IBindable
- protected readonly IList<IBinding> bindings
- public IDictionary Arguments { get; }
- public bool AutoDelete { get; }
- public string ExchangeType { get; }
- public IDictionary<string, object> Arguments { get; }
- public bool IsAutoDelete { get; }
- public bool IsDurable { get; }
- protected Exchange(string name, string exchangeType)
- protected Exchange(string name, string exchangeType, bool autoDelete, IDictionary arguments)
- public static IExchange DeclareDirect(string exchangeName)
- public static IExchange DeclareDirect(string exchangeName, bool autoDelete, IDictionary arguments)
- public static IExchange DeclareFanout(string exchangeName)
- public static IExchange DeclareFanout(string exchangeName, bool autoDelete, IDictionary arguments)
- public static IExchange DeclareTopic(string exchangeName)
- public static IExchange DeclareTopic(string exchangeName, bool autoDelete, IDictionary arguments)
- public string Type { get; }
- public Exchange(string name, string type = "direct", bool durable = true, bool autoDelete = false, IDictionary<string, object> arguments = null)
- public virtual void BindTo(IExchange exchange, string[] routingKeys)
- public virtual void Visit(ITopologyVisitor visitor)
-
public static class ExchangeType
-
public interface IBindable
-
public interface IBinding
-
public interface IExchange : IBindable
-
public interface IQueue : IBindable
-
public interface ITopology
-
public interface ITopologyVisitor
-
public sealed class Queue : IQueue, IBindable
- public bool IsSingleUse { get; }
- public IDictionary<string, object> Arguments { get; }
- public bool IsAutoDelete { get; }
- public bool IsDurable { get; }
- public bool IsExclusive { get; }
- protected Queue(bool durable, bool exclusive, bool autoDelete, string name, IDictionary<string, object> arguements)
- protected Queue(bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments)
- public static IQueue Declare(bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> arguments)
- public static IQueue Declare(bool durable, bool exclusive, bool autoDelete, string name, IDictionary<string, object> arguments)
- public static IQueue DeclareDurable(string queueName)
- public static IQueue DeclareDurable(string queueName, IDictionary<string, object> arguments)
- public static IQueue DeclareTransient(string queueName)
- public static IQueue DeclareTransient(string queueName, IDictionary<string, object> arguments)
- public static IQueue DeclareTransient()
- public void BindTo(IExchange exchange, string[] routingKeys)
- public IQueue SetAsSingleUse()
- public void Visit(ITopologyVisitor visitor)
- public Queue(string name, bool isDurable = true, bool isExclusive = false, bool isAutoDelete = false, IDictionary<string, object> arguments = null)
-
public class TopologyBuilder : ITopologyVisitor
Sprache