14 lines
397 B
C#
14 lines
397 B
C#
namespace ThreadPilot.Services
|
|
{
|
|
using ThreadPilot.Models;
|
|
|
|
internal static class PersistentRuleRuntimeKeys
|
|
{
|
|
public static string GetRuleSignature(PersistentProcessRule rule) =>
|
|
string.Join(
|
|
"|",
|
|
string.IsNullOrWhiteSpace(rule.Id) ? rule.Name : rule.Id,
|
|
rule.UpdatedAt.ToUniversalTime().Ticks);
|
|
}
|
|
}
|