Пример #1
0
    private void Fill()
    {
        _resultWriter.Begin(_provider);

        try
        {
            foreach (var command in _commands)
            {
                _command = command;
                Fill(command);
                command.Command.Dispose();
            }
        }
        finally
        {
            _resultWriter.End();
            _writeEnd(this);
        }
    }
Пример #2
0
 void IResultWriter.Begin(IProvider provider) => _logResultWriter.Begin(provider);
Пример #3
0
 void IResultWriter.Begin(IProvider provider)
 {
     _logResultWriter.Begin(provider);
     _provider = provider;
 }