protected void TextHasChanged(string value) { value = value.Trim().Replace("'\n", "").Replace("'\r", ""); try { foreach (var item in fileList) { if (value == item.NoteFileName) { SpinnerObj.ShowSpinner(target); OnMessage.InvokeAsync(new Message { Command = Commands.Show, Location = Locations.FileUserIndex, IntArg = item.Id }); return; } } } catch { } }
protected void Autologin() { OnMessage.InvokeAsync(new Message { Command = Commands.Dialog, Location = Locations.Login, StringArg = Globals.GuestEmail }); }
protected void MessageHandler(Message message) { SpinnerObj.ShowSpinner(target); OnMessage.InvokeAsync(message); }
public async Task InvokeMessage(MessageEventArgs e) { await OnMessage.InvokeAsync(this, e); }
private async Task _InvokeMessage(MessageEventArgs e) { await OnMessage.InvokeAsync(this, e); }