Class
ErrorDataProvider

Error data object used in all Designer exceptions.

Definition

Namespace:ArtOfTest.Common.Design.Exceptions

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ErrorDataProvider : IErrorDataProvider

Inheritance: objectErrorDataProvider

Implements: IErrorDataProvider

Constructors

ErrorDataProvider()

Create a new provider.

Declaration

cs-api-definition
public ErrorDataProvider()

Properties

Keys

Get all keys list

Declaration

cs-api-definition
public virtual IList<string> Keys { get; }

Property Value

IList<string>

Implements IErrorDataProvider.Keys

this[string]

Get an object

Declaration

cs-api-definition
public virtual object this[string key] { get; set; }

Parameters

key

string

The key of the object

Property Value

object

The object

Implements IErrorDataProvider.this[string]

Methods

Get(string)

Get an object

Declaration

cs-api-definition
public virtual object Get(string key)

Parameters

key

string

The key

Returns

object

The value.

Implements IErrorDataProvider.Get(string)

Get<T>(string)

Get a strongly-typed object.

Declaration

cs-api-definition
public virtual T Get<T>(string key)

Parameters

key

string

The key

Returns

T

The object

Implements IErrorDataProvider.Get<T>(string)

Set(string, object)

Set an object

Declaration

cs-api-definition
public virtual void Set(string key, object value)

Parameters

key

string

The key

value

object

The value

Implements IErrorDataProvider.Set(string, object)