Exemplo n.º 1
0
            public void Store(ITableWriter writer)
            {
                Assert(writer != null);
                Assert(FrameSize > 0);

                writer.Write(Signature);
                writer.Write(Version);
                writer.Write(Tag);
                writer.Write(FrameCount);
                writer.Write(FirstDeletedFrameIndex);
                writer.Write(FrameSize);
                writer.Write(CreationTime);
                writer.Write(LastWriteTime);

                DataOffset = writer.Position;
                IsDirty    = false;
            }
Exemplo n.º 2
0
        public void Store(ITableWriter writer)
        {
            writer.Write(Signature);
            long dpPos = writer.Position;

            writer.Write(TableVersion);
            writer.Write(DataPosition);
            writer.Write(CreationTime);
            writer.Write(LastAccessTime);
            writer.Write(LastWriteTime);
            writer.Write(m_nextId);

            DoStore(writer);

            DataPosition    = writer.Position;
            writer.Position = dpPos;
            writer.Write(DataPosition);
            writer.Position = DataPosition;

            IsDirty = false;
        }
Exemplo n.º 3
0
 protected override void DoStore(ITableWriter writer)
 {
     writer.Write((long)m_frameCount);
     writer.Write((long)m_ndxFirstDelFrame);
 }
        protected override void Report(TextWriter writer, IEnumerable <IRuleViolation> violations)
        {
            var violationModels = _ruleViolationViewModelConverter.Convert(violations);

            _tableWriter.Write(writer, violationModels, v => v.Index, v => v.Rule, v => v.Target, v => v.Message);
        }
Exemplo n.º 5
0
 protected override void DoStore(ITableWriter writer)
 {
     writer.Write((long)DataCount);
 }