Table of Contents

Class IocMessage

Namespace
H.Services.Message
Assembly
H.Services.Message.dll
public static class IocMessage
Inheritance
IocMessage
Inherited Members

Properties

Adorner

public static IAdornerDialogMessageService Adorner { get; }

Property Value

IAdornerDialogMessageService

Dialog

public static IDialogMessageService Dialog { get; }

Property Value

IDialogMessageService

Form

public static IFormMessageService Form { get; }

Property Value

IFormMessageService

IOFileDialog

public static IIOFileDialogService IOFileDialog { get; }

Property Value

IIOFileDialogService

IOFolderDialog

public static IIOFolderDialogService IOFolderDialog { get; }

Property Value

IIOFolderDialogService

Notify

public static INoticeMessageService Notify { get; }

Property Value

INoticeMessageService

Snack

public static ISnackMessageService Snack { get; }

Property Value

ISnackMessageService

SystemNotify

public static ISystemNotifyMessage SystemNotify { get; }

Property Value

ISystemNotifyMessage

TaskBar

public static ITaskBarMessage TaskBar { get; }

Property Value

ITaskBarMessage

Window

public static IWindowDialogMessageService Window { get; }

Property Value

IWindowDialogMessageService

Methods

ShowDialog(object, Action<IDialog>)

public static Task<bool?> ShowDialog(object presenter, Action<IDialog> builder = null)

Parameters

presenter object
builder Action<IDialog>

Returns

Task<bool?>

ShowDialogMessage(string, string, DialogButton)

public static Task<bool?> ShowDialogMessage(string message, string title = "提示", DialogButton dialogButton = DialogButton.Sumit)

Parameters

message string
title string
dialogButton DialogButton

Returns

Task<bool?>

ShowNotifyInfo(string)

public static void ShowNotifyInfo(string message)

Parameters

message string

ShowSnackInfo(string)

public static void ShowSnackInfo(string message)

Parameters

message string

ShowWindowMessage(string, string, DialogButton)

public static Task<bool?> ShowWindowMessage(string message, string title = "提示", DialogButton dialogButton = DialogButton.Sumit)

Parameters

message string
title string
dialogButton DialogButton

Returns

Task<bool?>