public sealed class Extension<TTarget, TValue> : Extension where TTarget : IExtendableMessage<TTarget>
Represents a type-safe extension identifier used for getting and setting single extension values in IExtendableMessage<T> instances.
This API is experimental and subject to change.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This document outlines the `Extension\u003cTTarget, TValue\u003e` class, a type-safe extension identifier used for managing single extension values in `IExtendableMessage\u003cT\u003e` instances."],["The class is experimental and subject to change, and it inherits from `Extension` and ultimately from the base `object` class, with accessible inherited members."],["It belongs to the `Google.Protobuf` namespace within the `Google.Protobuf.dll` assembly, and version 3.23.0 is highlighted."],["It uses two type parameters, `TTarget` to define the message type and `TValue` to define the extension's field value type."],["It contains a constructor to create a new extension identifier with a specified field number and `FieldCodec`, with parameters like `fieldNumber` and `codec`."]]],[]]