Skip to main content

Definition

Assembly: CloudNimble.SimpleMessageBus.IndexedDb.Core.dll Namespace: CloudNimble.SimpleMessageBus.IndexedDb.Core Inheritance: System.Object

Syntax

CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions

Summary

Specifies the options required to leverage a browser’s IndexedDB instance as the SimpleMessageBus backing queue.

Remarks

These options configure the IndexedDB database and object store names used for message queuing in Blazor WebAssembly applications. The default values follow SimpleMessageBus conventions and can be customized for specific application requirements.

Constructors

.ctor

The default constructor, which sets the default values equal to the values specified in IndexedDbConstants.

Syntax

public IndexedDbOptions()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

CompletedQueueName

The IndexedDb table where successfully-processed queue items will be moved to upon completion. Defaults to IndexedDbConstants.Completed.

Syntax

public string CompletedQueueName { get; set; }

Property Value

Type: string

DatabaseName

The name of the Database inside IndexedDb where the queue tables will be stored. Defaults to ‘SimpleMessageBus’.

Syntax

public string DatabaseName { get; set; }

Property Value

Type: string

ErrorQueueName

The IndexedDb table where failed items will be stored while they are waiting to be analyzed and reprocessed. Defaults to IndexedDbConstants.Error.

Syntax

public string ErrorQueueName { get; set; }

Property Value

Type: string

QueueName

The IndexedDb table where items will be stored while they are waiting to be processed. Defaults to IndexedDbConstants.Queue.

Syntax

public string QueueName { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?