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
value
ArraySegment<byte>
StateStoreObject(byte[])
public StateStoreObject(byte[] value)
Parameters
value
byte[]
StateStoreObject(IEnumerable<byte>)
public StateStoreObject(IEnumerable<byte> value)
Parameters
value
IEnumerable<byte>
StateStoreObject(Stream)
public StateStoreObject(Stream value)
Parameters
value
Stream
StateStoreObject(Stream, long)
public StateStoreObject(Stream value, long length)
Parameters
StateStoreObject(string)
public StateStoreObject(string value)
Parameters
value
string
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
other
StateStoreObjectAn 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
other
object
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.