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

Expose read only collections for source cache #919

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

RolandPheasant
Copy link
Collaborator

Similar to the recent PR to expose list items as a read only list, this PR changes the observable cache to use readonly collections.

We now have theses exposed

IReadOnlyList<TObject> Items { get; }
IReadOnlyList<TKey> Keys { get; }
IReadOnlyDictionary<TKey, TObject> KeyValues { get; }

instead of raw IEnumerables

@RolandPheasant RolandPheasant merged commit 3382f7f into main Jul 12, 2024
1 check passed
@RolandPheasant RolandPheasant deleted the feature/use-readonly-collection-for-source-cace branch July 12, 2024 05:03
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants