Class StateStoreObject
- Namespace
- Azure.Iot.Operations.Services.StateStore
- Assembly
- Azure.Iot.Operations.Services.dll
public abstract class StateStoreObject : IEquatable<StateStoreObject>
- Inheritance
-
StateStoreObject
- Implements
- Derived
- Inherited Members
Constructors
StateStoreObject(ArraySegment<byte>)
public StateStoreObject(ArraySegment<byte> value)
Parameters
valueArraySegment<byte>
StateStoreObject(byte[])
public StateStoreObject(byte[] value)
Parameters
valuebyte[]
StateStoreObject(IEnumerable<byte>)
public StateStoreObject(IEnumerable<byte> value)
Parameters
valueIEnumerable<byte>
StateStoreObject(Stream)
public StateStoreObject(Stream value)
Parameters
valueStream
StateStoreObject(Stream, long)
public StateStoreObject(Stream value, long length)
Parameters
StateStoreObject(string)
public StateStoreObject(string value)
Parameters
valuestring
Properties
Bytes
public byte[] Bytes { get; }
Property Value
- byte[]
Methods
Equals(StateStoreObject?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(StateStoreObject? other)
Parameters
otherStateStoreObjectAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? other)
Parameters
otherobject
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetString()
public string GetString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.