Table of Contents

Class MessageHostUtil

Namespace
Hi.Common.Messages
Assembly
HiGeom.dll

Utility methods for working with IMessageKit implementations.

public static class MessageHostUtil
Inheritance
MessageHostUtil
Inherited Members

Methods

AddError(IMessageKit, string, params string[])

Adds an Error message to the message host.

public static object AddError(this IMessageKit host, string message, params string[] otherTags)

Parameters

host IMessageKit

The message host

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

object

The result of adding the message

AddMessage(IMessageKit, string, params string[])

Adds a message with the specified tags to the message host.

public static object AddMessage(this IMessageKit host, string msg, params string[] tags)

Parameters

host IMessageKit

The message host

msg string

The message content

tags string[]

The tags to associate with the message

Returns

object

The result of adding the message

AddProgress(IMessageKit, string, params string[])

Adds a Progress message to the message host.

public static object AddProgress(this IMessageKit host, string message, params string[] otherTags)

Parameters

host IMessageKit

The message host

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

object

The result of adding the message

AddSuccess(IMessageKit, string, params string[])

Adds a Success message to the message host.

public static object AddSuccess(this IMessageKit host, string message, params string[] otherTags)

Parameters

host IMessageKit

The message host

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

object

The result of adding the message

AddWarning(IMessageKit, string, params string[])

Adds a warning message to the message host.

public static object AddWarning(this IMessageKit host, string message, params string[] otherTags)

Parameters

host IMessageKit

The message host

message string

The message content

otherTags string[]

Additional tags to associate with the message

Returns

object

The result of adding the message