Table of Contents

Class AbstractDeclarable

Namespace
Steeltoe.Messaging.RabbitMQ.Config
Assembly
Steeltoe.Messaging.RabbitMQ.dll
public abstract class AbstractDeclarable : IDeclarable
Inheritance
AbstractDeclarable
Implements
Derived
Inherited Members

Constructors

AbstractDeclarable(Dictionary<string, object>)

protected AbstractDeclarable(Dictionary<string, object> arguments)

Parameters

arguments Dictionary<string, object>

Fields

_declaringAdmins

protected List<object> _declaringAdmins

Field Value

List<object>

Properties

Arguments

Gets or sets the arguments for this declarable

public Dictionary<string, object> Arguments { get; set; }

Property Value

Dictionary<string, object>

DeclaringAdmins

Gets or sets a collection of Admins that should declare this object

public List<object> DeclaringAdmins { get; set; }

Property Value

List<object>

IgnoreDeclarationExceptions

Gets or sets a value indicating whether should ignore exceptions

public bool IgnoreDeclarationExceptions { get; set; }

Property Value

bool

ShouldDeclare

Gets or sets a value indicating whether this object should be declared

public bool ShouldDeclare { get; set; }

Property Value

bool

Methods

AddArgument(string, object)

Adds an argument to the declarable

public void AddArgument(string name, object value)

Parameters

name string

the argument name

value object

the argument value

RemoveArgument(string)

Remove an argument from the declarable

public object RemoveArgument(string name)

Parameters

name string

the argument name

Returns

object

the value if present

SetAdminsThatShouldDeclare(params object[])

public virtual void SetAdminsThatShouldDeclare(params object[] adminArgs)

Parameters

adminArgs object[]