Interface IMessage<T>
Generic interface for a Protocol Buffers message, where the type parameter is expected to be the same type as the implementation class.
Inherited Members
System.IEquatable<T>.Equals(T)
Namespace: Google.Protobuf
Assembly: Google.Protobuf.dll
Syntax
public interface IMessage<T> : IMessage, IEquatable<T>, IDeepCloneable<T> where T : IMessage<T>
Type Parameters
Name | Description |
---|---|
T | The message type. |
Methods
MergeFrom(T)
Merges the given message into this one.
Declaration
void MergeFrom(T message)
Parameters
Type | Name | Description |
---|---|---|
T | message | The message to merge with this one. Must not be null. |
Remarks
See the user guide for precise merge semantics.