public Menu(List<Employee> emploees, SerializableObject obj, ISerialized serializer, string pathFileSerializ) { Emploees = emploees; Obj = obj; Serializer = serializer; PathFileSerializ = pathFileSerializ; }
public void Write(ISerialized serializable) { if (serializable == null) { throw new System.ArgumentNullException(nameof(serializable)); } serializable.Serialize(this); }
public void ReadSerializable(ref ISerialized obj) { if (obj == null) { throw new System.ArgumentNullException(nameof(obj), "The object to deserialize to cannot be null."); } obj.Deserialize(this); }
public ContainerGraphics(ISerialized serializable, IOpenFileWindow openFileWindow, ISaveFileWindow saveFileWindow, IClipboard clipboard) { _serializable = serializable; _openFileWindow = openFileWindow; _saveFileWindow = saveFileWindow; _clipboard = clipboard; Graphics = new List <Graphic>(); CreateGraphic(); }
internal static void SetID(string IDRef, ISerialized ob) { ob.ID_ = IDRef; refSerialClass.Add(IDRef,ob); }