Table of Contents

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

value Stream
length long

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 StateStoreObject

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.