Table of Contents

Class MultiTagMessage

Namespace
Hi.Common.Messages
Assembly
HiGeom.dll

Represents a message with multiple tags for categorization and filtering.

public class MultiTagMessage
Inheritance
MultiTagMessage
Inherited Members
Extension Methods

Constructors

MultiTagMessage(object, params string[])

Initializes a new instance of the MultiTagMessage class with the specified message and tags.

public MultiTagMessage(object message, params string[] tags)

Parameters

message object

The message content

tags string[]

The tags to associate with this message

Properties

Message

Gets or sets the message content.

public object Message { get; set; }

Property Value

object

Tags

Gets or sets the collection of tags associated with this message.

public HashSet<string> Tags { get; set; }

Property Value

HashSet<string>

Methods

Error(string, params string[])

Creates a Error message.

public static MultiTagMessage Error(string message, params string[] otherTags)

Parameters

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

MultiTagMessage

A new MultiTagMessage tagged with Error

Exception(Exception, params string[])

Creates a Exception message.

public static MultiTagMessage Exception(Exception exception, params string[] otherTags)

Parameters

exception Exception

The exception to log

otherTags string[]

Additional tags to associate with the message

Returns

MultiTagMessage

A new MultiTagMessage tagged with Exception

Info(string, params string[])

Creates a Info message.

public static MultiTagMessage Info(string message, params string[] otherTags)

Parameters

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

MultiTagMessage

A new MultiTagMessage tagged with Info

Progress(string, params string[])

Creates a Progress message.

public static MultiTagMessage Progress(string message, params string[] otherTags)

Parameters

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

MultiTagMessage

A new MultiTagMessage tagged with Progress

Success(string, params string[])

Creates a Success message.

public static MultiTagMessage Success(string message, params string[] otherTags)

Parameters

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

MultiTagMessage

A new MultiTagMessage tagged with Success

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Warning(string, params string[])

Creates a Warning message.

public static MultiTagMessage Warning(string message, params string[] otherTags)

Parameters

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

MultiTagMessage

A new MultiTagMessage tagged with Warning