From 2027296bb0bd1e72f93c4f470cadca153c7ec2dd Mon Sep 17 00:00:00 2001 From: vnugent Date: Sun, 19 Mar 2023 13:56:27 -0400 Subject: RestSharp version update, PKI optional login endpoint --- lib/VNLib.Data.Caching/src/WaitForChangeResult.cs | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'lib/VNLib.Data.Caching') 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 /// /// The result of a cache server change event /// - public readonly struct WaitForChangeResult + /// The operation status code + /// The current (or old) id of the element that changed + /// The new id of the element that changed + public readonly record struct WaitForChangeResult( + string Status, + string CurrentId, + string NewId) { - /// - /// The operation status code - /// - public readonly string Status { get; init; } - /// - /// The current (or old) id of the element that changed - /// - public readonly string CurrentId { get; init; } - /// - /// The new id of the element that changed - /// - public readonly string NewId { get; init; } + } } -- cgit