Split ObservableCacheEx.cs into per-family partial classes#1095
Open
dwcullop wants to merge 1 commit into
Open
Split ObservableCacheEx.cs into per-family partial classes#1095dwcullop wants to merge 1 commit into
dwcullop wants to merge 1 commit into
Conversation
Splits the 6800-line ObservableCacheEx.cs into 24 smaller partial-class files grouped by operator family. Each method (and all of its overloads) lives in exactly one file. No code, comments, or XML documentation is added, removed, or otherwise modified; this is a pure file reorganization. All 2218 tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Splits
ObservableCacheEx.cs(6,833 lines, 100 distinct operator names spanning 290 method bodies) into 24 partial-class files grouped by operator family. The two pre-existing partials (ObservableCacheEx.SortAndBind.cs,ObservableCacheEx.VirtualiseAndPage.cs) are untouched.This is a pure file reorganisation. No code, no XML documentation, no comments, no preprocessor directives, and no constants were added, removed, or altered. The byte content of every method body is preserved. All 2,218 unit tests pass.
New files
Numbers in parentheses indicate the count of overloads.
DefaultResortOnSourceRefreshconstDefaultSortResetThresholdconstDeleted
src/DynamicData/Cache/ObservableCacheEx.csVerification
The split was generated programmatically with byte-level per-method equality checks against the original. After the move, every public method (and all 14 private static helpers used internally by the public surface) was confirmed to be present in exactly one file in the same order it appeared in the original file. The full test suite (2,218 tests on net9.0) passes.