You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/performance/caching/hybrid.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ Because much `HybridCache` usage will be adapted from existing `IDistributedCach
208
208
* They're immutable types.
209
209
* The code doesn't modify them.
210
210
211
-
In such cases, inform `HybridCache` that it's safe to reuse instances by:
211
+
In such cases, inform `HybridCache` that it's safe to reuse instances by making at least one of the following changes:
212
212
213
213
* Marking the type as `sealed`. The `sealed` keyword in C# means that the class can't be inherited.
214
214
* Applying the `[ImmutableObject(true)]` attribute to the type. The `[ImmutableObject(true)]` attribute indicates that the object's state can't be changed after it's created.
0 commit comments