/// <summary> /// Call when dialog window is closed /// </summary> public void OnClosed() { var context = m_context; m_context = null; context.Complete(); }
public Awaitable OpenAsync() { BeginDialogOpen?.Invoke(); if (m_context != null) { throw new Exception(); } m_context = Awaiter.Create(); return(new Awaitable(m_context.Awaiter)); }