public override void Write(BinaryWriter file) { ComponentName.Write(file); if (!string.IsNullOrEmpty(ComponentName.Value)) { Guid.Write(file); Buffer.Write(file); } }