mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
664 B
26 lines
664 B
using System;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace Volo.Abp.EventBus.Distributed
|
|
{
|
|
public class OutboxConfig
|
|
{
|
|
[NotNull]
|
|
public string Name { get; }
|
|
|
|
public Type ImplementationType { get; set; }
|
|
|
|
public Func<Type, bool> Selector { get; set; }
|
|
|
|
/// <summary>
|
|
/// Used to enable/disable sending events from outbox to the message broker.
|
|
/// Default: true.
|
|
/// </summary>
|
|
public bool IsSendingEnabled { get; set; } = true;
|
|
|
|
public OutboxConfig([NotNull] string name)
|
|
{
|
|
Name = Check.NotNullOrWhiteSpace(name, nameof(name));
|
|
}
|
|
}
|
|
}
|