Interface IMessage<T>

public interface IMessage<T> : IMessage, IEquatable<T>, IDeepCloneable<T> where T : IMessage<T>

Generic interface for a Protocol Buffers message, where the type parameter is expected to be the same type as the implementation class.

Namespace

Google.Protobuf

Assembly

Google.Protobuf.dll

Type Parameter

NameDescription
T

The message type.

Methods

MergeFrom(T)

void MergeFrom(T message)

Merges the given message into this one.

Parameter
TypeNameDescription
Tmessage

The message to merge with this one. Must not be null.

Remarks

See the user guide for precise merge semantics.

Extension Methods