◐ Shell
clean mode source ↗

[release/v7.4.16] Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation by adityapatwardhan · Pull Request #27426 · PowerShell/PowerShell

src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IDeepCloneable.cs Adds the deep-clone interface used by FilterCore types. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/ValidationRules/DataErrorInfoValidationRule.cs Makes validation rules deep-cloneable via IDeepCloneable. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/ValidatingValueBase.cs Adds cloning support for validation rule collections and requires derived DeepClone(). src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/ValidatingValue.cs Implements deep cloning for ValidatingValue<T> via copy ctor + DeepClone(). src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/ValidatingSelectorValue.cs Implements deep cloning for selector values, including cloning available values when possible. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/FilterRuleExtensions.cs Removes BinaryFormatter deep copy and delegates to FilterRule.DeepClone(). src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/FilterRule.cs Implements IDeepCloneable for filter rules using copy constructors. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/ComparableValueFilterRule.cs Adds copy constructor to carry rule state during cloning. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/SingleValueComparableValueFilterRule.cs Adds copy constructor to clone Value and reattach change handlers. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/IsBetweenFilterRule.cs Adds copy constructor to clone StartValue/EndValue and reattach handlers. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/EqualsFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/DoesNotEqualFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/IsEmptyFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/IsNotEmptyFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/IsGreaterThanFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/IsLessThanFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextFilterRule.cs Adds copy constructor to preserve text-rule settings during cloning. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextEqualsFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextDoesNotEqualFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextContainsFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextDoesNotContainFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextStartsWithFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/TextEndsWithFilterRule.cs Adds copy constructor for cloning support. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/SelectorFilterRule.cs Adds copy constructor to clone AvailableRules and rewire events post-clone. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/PropertyValueSelectorFilterRule.cs Adds copy constructor and reinitializes display-name converter state. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/PropertiesTextContainsFilterRule.cs Adds copy constructor and restores invalidation handler behavior for cloned instances. src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterRules/IsNotEmptyValidationRule.cs Implements DeepClone() for the validation rule used by validating values.