From c3a6a11bd247a8d66d613b3e2bf7147fd389893b Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Tue, 5 Sep 2017 18:27:55 +0800 Subject: [PATCH] rename --- .../States/{IState.Successed.cs => IState.Succeeded.cs} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename src/DotNetCore.CAP/Processor/States/{IState.Successed.cs => IState.Succeeded.cs} (76%) diff --git a/src/DotNetCore.CAP/Processor/States/IState.Successed.cs b/src/DotNetCore.CAP/Processor/States/IState.Succeeded.cs similarity index 76% rename from src/DotNetCore.CAP/Processor/States/IState.Successed.cs rename to src/DotNetCore.CAP/Processor/States/IState.Succeeded.cs index d9a96f2..0a3f240 100644 --- a/src/DotNetCore.CAP/Processor/States/IState.Successed.cs +++ b/src/DotNetCore.CAP/Processor/States/IState.Succeeded.cs @@ -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); }