Пример #1
0
        public void Apply(IMemTable memTable)
        {
            IOperation operation;

            while (opLogReader.Read(out operation))
            {
                memTable.Apply(operation.Item);
            }
        }
Пример #2
0
        public void Apply(IMemTable memTable)
        {
            IOperation op;

            while (opLogReader.Read(out op))
            {
                var operation = op as Operation;
                memTable.Add(operation.Item);
            }
        }