Class AmqpValue<T>
An AMQP Value section contains a single strongly typed value.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp.Framing
Assembly: Amqp.Net.dll
Syntax
public sealed class AmqpValue<T> : AmqpValue
Type Parameters
Name | Description |
---|---|
T |
Constructors
AmqpValue(T)
Initializes an AmqpValue object.
Declaration
public AmqpValue(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value |
AmqpValue(T, AmqpSerializer)
Initializes an AmqpValue object with an AmqpSerializer that is used to serialize the value.
Declaration
public AmqpValue(T value, AmqpSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
T | value | |
AmqpSerializer | serializer |
Methods
WriteValue(ByteBuffer, Object)
Writes the value into the buffer using AmqpSerializer.
Declaration
protected override void WriteValue(ByteBuffer buffer, object value)
Parameters
Type | Name | Description |
---|---|---|
ByteBuffer | buffer | The buffer to write the encoded object. |
System.Object | value | The object to be written. |