public static bool TryMergeFieldFrom<TTarget>(ref ExtensionSet<TTarget> set, CodedInputStream stream) where TTarget : IExtendableMessage<TTarget>
Tries to merge a field from the coded input, returning true if the field was merged.
If the set is null or the field was not otherwise merged, this returns false.
public static bool TryMergeFieldFrom<TTarget>(ref ExtensionSet<TTarget> set, ref ParseContext ctx) where TTarget : IExtendableMessage<TTarget>
Tries to merge a field from the coded input, returning true if the field was merged.
If the set is null or the field was not otherwise merged, this returns false.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `ExtensionSet` class provides methods for managing `ExtensionSet\u003cTTarget\u003e` with null checking within the Google.Protobuf namespace."],["Most users will not directly interact with the `ExtensionSet` class, as its API is considered experimental and subject to change."],["Methods in `ExtensionSet` allow operations like clearing, cloning, getting, setting, checking if set, merging, and handling fields from a coded input stream, primarily through reference modification of `ExtensionSet\u003cTTarget\u003e`."],["The class supports various generic types, such as `TTarget` and `TValue`, used in managing different types of extensions and their values."],["There are multiple versions of `ExtensionSet`, including the latest (3.27.1) and older ones (3.23.0, 3.15.8), accessible through different documentation links."]]],[]]