Open Source Web Application Framework for ASP.NET Core
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

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));
}
}
}