public void ShowSimple(string title, Toast kind) { OnShowToast?.Invoke( this, new ToastContent(title, "") { Kind = kind } ); }
public void ShowNormal(string title, string content, int duration = 3500) { OnShowToast?.Invoke( this, new ToastContent(title, content) { Duration = duration } ); }
public void ShowWarning(string title, string content, int duration = 3500) { OnShowToast?.Invoke( this, new ToastContent(title, content) { Kind = Toast.Warning, Duration = duration } ); }
public void ShowSuccess(string title, string content, int duration = 3500) { OnShowToast?.Invoke( this, new ToastContent { Title = title, Content = content, Kind = Toast.Success, Duration = duration } ); }
public void ShowCustom(ToastContent content) { OnShowToast?.Invoke(this, content); }