public void WriteInternal(BinaryWriter writer) { writer.WriteModel(AnchorHead); writer.WriteModel(AnchorTail); writer.Write(HeadPoint); writer.Write(TailPoint); writer.Write(SeqLength); }
public void WriteInternal(BinaryWriter writer) { writer.Write(Version); writer.Write(Amount); foreach (var path in Paths) writer.WriteModel(path); }
private void SaveToFile() { var sfd = new SaveFileDialog(); var showDialog = sfd.ShowDialog(); if (showDialog != null && (bool)showDialog) { using (var writer = new BinaryWriter(new FileStream(sfd.FileName, FileMode.Create, FileAccess.Write))) { writer.WriteModel(PathCollection); } } }
public void WriteInternal(BinaryWriter writer) { writer.WriteModel(From); writer.WriteModel(Direction); }