public override void Load(PrimitiveReader reader) { var present = reader.ReadBoolean(); if(present) { Placeholder = reader.ReadString(); } }
public void ReadFrom(PrimitiveReader reader) { AssemblyQualifiedName = reader.ReadString(); var countNo = reader.ReadInt32(); for (var i = 0; i < countNo; i++) { var field = new FieldDescriptor(AssemblyQualifiedName); field.ReadFrom(reader); Fields.Add(field); } }
public void Load(PrimitiveReader reader) { Id = reader.ReadUInt64(); Message = reader.ReadString(); SourceId = reader.ReadInt32(); ThreadId = reader.ReadInt32(); Time = new DateTime(reader.ReadInt64()); numericLogLevel = reader.ReadInt32(); if(ThreadId == -1) { ThreadId = null; } }
public void ReadFrom(PrimitiveReader reader) { Name = reader.ReadString(); TypeAQN = reader.ReadString(); }