Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AutoClone.md #328

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update AutoClone.md #328

wants to merge 1 commit into from

Conversation

oasaleh
Copy link

@oasaleh oasaleh commented Nov 1, 2024

This pull request includes updates to the documentation to clarify the behavior of the GetOrDefault method when using the SetAutoClone option in the FusionCache library.

Documentation improvements:

  • docs/AutoClone.md: Updated comments to clarify that using SetAutoClone(true) returns a clone of the cached instance, and modifications affect only the clone, while not using SetAutoClone returns a direct reference to the cached instance, and modifications affect the cache.

Rephrase the comments to make them clearer as to what's going on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant