Exemplo n.º 1
0
        /// <inheritdoc />
        public override async Task <IEnumerable <DocumentItemExecution> > Render(IByteCounterStream outputStream, ContextObject context, ScopeData scopeData)
        {
            scopeData.Alias.Remove(Value);
            await Task.CompletedTask;

            return(new DocumentItemExecution[0]);
        }
Exemplo n.º 2
0
        /// <inheritdoc />
        public override async Task <IEnumerable <DocumentItemExecution> > Render(IByteCounterStream outputStream, ContextObject context, ScopeData scopeData)
        {
            scopeData.Alias[Value] = context.CloneForEdit();

            await Task.CompletedTask;

            return(Children.WithScope(context));
        }