예제 #1
0
파일: Data.cs 프로젝트: Anthaax/Archi-Vite
        public Data(User user , Dictionary<Patient, Professional[]> followers, DocumentSerializable documents)
		{
            _user = user;
            _follow = followers;
			_documents = documents;
            _documentsAdded = new DocumentSerializable(new List<Message>(), new List<Prescription>());
		}
예제 #2
0
파일: Data.cs 프로젝트: Anthaax/Archi-Vite
 public Data(User user, Dictionary<Patient, Professional[]> followers, DocumentSerializable documents, DocumentSerializable documentsAdded)
 {
     _user = user;
     _follow = followers;
     _documents = documents;
     _documentsAdded = documentsAdded;
     _needUpdate = false;
 }
예제 #3
0
 public DocumentSerializableXML CreateDocumentSerializable(DocumentSerializable json)
 {
     List<MessageXML> m = CreateMessageList(json.Messages);
     List<PrescriptionXML> p = CreatePrescriptionList(json.Prescriptions);
     DocumentSerializableXML d = new DocumentSerializableXML();
     d.Message = m;
     d.Prescription = p;
     return d;
 }