Catel.Services.MessageService.ShowInformationAsync C# (CSharp) 메소드

ShowInformationAsync() 공개 메소드

Shows an information message to the user and allows a callback operation when the message is completed.
The is null or whitespace.
public ShowInformationAsync ( string message, string caption = "" ) : Task
message string The message.
caption string The caption.
리턴 Task
        public virtual Task<MessageResult> ShowInformationAsync(string message, string caption = "")
        {
            if (string.IsNullOrEmpty(caption))
            {
                caption = Catel.ResourceHelper.GetString("InfoTitle");
            }

            const MessageButton button = MessageButton.OK;
            const MessageImage icon = MessageImage.Information;

            return Show(message, caption, button, icon);
        }