Class MqttUserProperty
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Inheritance
MqttUserProperty
Assembly: Silverback.Integration.MQTT.dll
Syntax
public record MqttUserProperty : IValidatableSettings, IEquatable<MqttUserProperty>
Constructors
MqttUserProperty(MqttUserProperty)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
protected MqttUserProperty(MqttUserProperty original)
Parameters
MqttUserProperty(string, string?)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public MqttUserProperty(string Name, string? Value)
Parameters
Properties
EqualityContract
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Value
Declaration
public string? Value { get; }
Property Value
Methods
Deconstruct(out string, out string?)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public void Deconstruct(out string Name, out string? Value)
Parameters
Equals(MqttUserProperty?)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public virtual bool Equals(MqttUserProperty? other)
Parameters
Returns
Equals(object?)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public override string ToString()
Returns
Overrides
Validate()
Declaration
Operators
operator ==(MqttUserProperty?, MqttUserProperty?)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public static bool operator ==(MqttUserProperty? left, MqttUserProperty? right)
Parameters
Returns
operator !=(MqttUserProperty?, MqttUserProperty?)
A user property to be sent with the CONNECT packet. It can be used to send connection related properties from the client to
the server.
Declaration
public static bool operator !=(MqttUserProperty? left, MqttUserProperty? right)
Parameters
Returns
Implements