Table of Contents

Class ExceptionDataKey

Namespace
Tlabs
Assembly
Tlabs.Core.dll

Data key type.

public class ExceptionDataKey
Inheritance
ExceptionDataKey
Inherited Members
Extension Methods

Constructors

ExceptionDataKey(string)

Ctor from key.

public ExceptionDataKey(string key)

Parameters

key string

Fields

MSG_TMPL

Message template key.

public static readonly ExceptionDataKey MSG_TMPL

Field Value

ExceptionDataKey

Properties

Key

Key value.

public string Key { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ResolvedMsgParams(string, out IDictionary, params object[])

Resolves the msgTmpl parameters into data using param(s) and return the resulting message.

public static string ResolvedMsgParams(string msgTmpl, out IDictionary data, params object[] param)

Parameters

msgTmpl string
data IDictionary
param object[]

Returns

string

ResolvedMsgTemplate(string, IDictionary)

Resolves the msgTmpl with data.

public static string ResolvedMsgTemplate(string msgTmpl, IDictionary data)

Parameters

msgTmpl string
data IDictionary

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

explicit operator ExceptionDataKey(string)

Explicit convertion from string.

public static explicit operator ExceptionDataKey(string key)

Parameters

key string

Returns

ExceptionDataKey