diff options
author | vnugent <public@vaughnnugent.com> | 2023-03-19 13:56:27 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-03-19 13:56:27 -0400 |
commit | 2027296bb0bd1e72f93c4f470cadca153c7ec2dd (patch) | |
tree | 809bcbc087253272278f6ac10c0c6c14932bf477 /lib/VNLib.Data.Caching/src/WaitForChangeResult.cs | |
parent | 23c9080c208c6d2f94df0b17c9c7dc74ff1766c1 (diff) |
RestSharp version update, PKI optional login endpoint
Diffstat (limited to 'lib/VNLib.Data.Caching/src/WaitForChangeResult.cs')
-rw-r--r-- | lib/VNLib.Data.Caching/src/WaitForChangeResult.cs | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs b/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs index 76cc002..fe4f22f 100644 --- a/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs +++ b/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2022 Vaughn Nugent +* Copyright (c) 2023 Vaughn Nugent * * Library: VNLib * Package: VNLib.Data.Caching @@ -27,19 +27,14 @@ namespace VNLib.Data.Caching /// <summary> /// The result of a cache server change event /// </summary> - public readonly struct WaitForChangeResult + /// <param name="Status">The operation status code</param> + /// <param name="CurrentId">The current (or old) id of the element that changed</param> + /// <param name="NewId">The new id of the element that changed</param> + public readonly record struct WaitForChangeResult( + string Status, + string CurrentId, + string NewId) { - /// <summary> - /// The operation status code - /// </summary> - public readonly string Status { get; init; } - /// <summary> - /// The current (or old) id of the element that changed - /// </summary> - public readonly string CurrentId { get; init; } - /// <summary> - /// The new id of the element that changed - /// </summary> - public readonly string NewId { get; init; } + } } |