Class NotifyMessage
public class NotifyMessage : ServiceSettingInstance<NotifyMessage, INotifyMessage>, INotifyPropertyChanged, IDisplayer, ISetting, INotifyMessage
- Inheritance
-
NotifyMessage
- Implements
- Inherited Members
- Extension Methods
Properties
UseLogger
[Display(Name = "启用提示消息输出到消息日志")]
public bool UseLogger { get; set; }
Property Value
Methods
Show(INotifyMessageItem)
public void Show(INotifyMessageItem message)
Parameters
message
INotifyMessageItem
ShowError(string)
public void ShowError(string message)
Parameters
message
string
ShowErrorSystem(string)
public void ShowErrorSystem(string message)
Parameters
message
string
ShowFatal(string)
public void ShowFatal(string message)
Parameters
message
string
ShowFatalSystem(string)
public void ShowFatalSystem(string message)
Parameters
message
string
ShowInfo(string)
public void ShowInfo(string message)
Parameters
message
string
ShowInfoSystem(string)
public void ShowInfoSystem(string message)
Parameters
message
string
ShowNotifyDialogMessage(string, string, int)
显示自定义气泡消息
public void ShowNotifyDialogMessage(string message, string title = null, int closeTime = -1)
Parameters
ShowProgressSystem<T>(Func<IPercentProgressMessage, T>)
显示带进度的消息
public Task<T> ShowProgressSystem<T>(Func<IPercentProgressMessage, T> action)
Parameters
action
Func<IPercentProgressMessage, T>
Returns
- Task<T>
Type Parameters
T
ShowProgress<T>(Func<IPercentProgressMessage, T>)
显示带进度的消息
public Task<T> ShowProgress<T>(Func<IPercentProgressMessage, T> action)
Parameters
action
Func<IPercentProgressMessage, T>
Returns
- Task<T>
Type Parameters
T
ShowStringSystem<T>(Func<INotifyMessageItem, T>)
public Task<T> ShowStringSystem<T>(Func<INotifyMessageItem, T> action)
Parameters
action
Func<INotifyMessageItem, T>
Returns
- Task<T>
Type Parameters
T
ShowString<T>(Func<INotifyMessageItem, T>)
显示带进度的消息
public Task<T> ShowString<T>(Func<INotifyMessageItem, T> action)
Parameters
action
Func<INotifyMessageItem, T>
Returns
- Task<T>
Type Parameters
T
ShowSuccess(string)
public void ShowSuccess(string message)
Parameters
message
string
ShowSuccessSystem(string)
public void ShowSuccessSystem(string message)
Parameters
message
string
ShowSystem(INotifyMessageItem)
public void ShowSystem(INotifyMessageItem message)
Parameters
message
INotifyMessageItem
ShowWaittingSystem<T>(Func<INotifyMessageItem, T>)
显示等待效果的
public Task<T> ShowWaittingSystem<T>(Func<INotifyMessageItem, T> action)
Parameters
action
Func<INotifyMessageItem, T>
Returns
- Task<T>
Type Parameters
T
ShowWaitting<T>(Func<INotifyMessageItem, T>)
显示等待效果的
public Task<T> ShowWaitting<T>(Func<INotifyMessageItem, T> action)
Parameters
action
Func<INotifyMessageItem, T>
Returns
- Task<T>
Type Parameters
T
ShowWarn(string)
public void ShowWarn(string message)
Parameters
message
string
ShowWarnSystem(string)
public void ShowWarnSystem(string message)
Parameters
message
string