yangxiaodong pirms 7 gadiem
vecāks
revīzija
c3a6a11bd2
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +4
    -4
      src/DotNetCore.CAP/Processor/States/IState.Succeeded.cs

src/DotNetCore.CAP/Processor/States/IState.Successed.cs → src/DotNetCore.CAP/Processor/States/IState.Succeeded.cs Parādīt failu

@@ -3,20 +3,20 @@ using DotNetCore.CAP.Models;

namespace DotNetCore.CAP.Processor.States
{
public class SuccessedState : IState
public class SucceededState : IState
{
public const string StateName = "Successed";
public const string StateName = "Succeeded";

public TimeSpan? ExpiresAfter { get; private set; }

public string Name => StateName;

public SuccessedState()
public SucceededState()
{
ExpiresAfter = TimeSpan.FromHours(1);
}

public SuccessedState(int ExpireAfterSeconds)
public SucceededState(int ExpireAfterSeconds)
{
ExpiresAfter = TimeSpan.FromSeconds(ExpireAfterSeconds);
}

Notiek ielāde…
Atcelt
Saglabāt