Exemplo n.º 1
0
        private BridgeUpdater Update(Func <BridgeUpdater> updaterBuilder, IExitContext relisten)
        {
            var updater = updaterBuilder();

            updater.Cache = _SessionCache;
            relisten?.SetBridgeUpdater(updater);
            return(updater);
        }
Exemplo n.º 2
0
 protected virtual async Task FireExited(IExitContext context)
 {
     await OnExited.InvokeAsync(context);
 }
Exemplo n.º 3
0
 private void OnExited(IExitContext state)
 {
     _style = null;
 }
Exemplo n.º 4
0
 private void OnExiting(IExitContext state)
 {
     _style = "height: 0px";
 }
Exemplo n.º 5
0
        private async Task OnExit(IExitContext state)
        {
            var height = await JsRuntime.InvokeAsync <double>("getElHeight", _reference.Ref);

            _style = FormattableString.Invariant($"height: {height:#.##}px");
        }