Пример #1
0
 public void AddVisitPurpose(VisitPurposeType type, VisitPurposeState state)
 {
     VisitPurposes.Add(new VisitPurpose(type, state));
 }
Пример #2
0
 public VisitPurpose(VisitPurposeType type, VisitPurposeState state = VisitPurposeState.Unhandled)
 {
     Type  = type;
     State = state;
 }
 public VisitPurposeSelection(VisitPurposeType type, bool isSelected) : this(type, VisitPurposeState.Unhandled, isSelected)
 {
 }
 public VisitPurposeSelection(VisitPurposeType type, VisitPurposeState state, bool isSelected)
 {
     Type       = type;
     State      = state;
     IsSelected = isSelected;
 }
Пример #5
0
 public void AddVisitPurposeTemplate(VisitPurposeType visitPurposeType, bool isPreSelected = false)
 {
     VisitPurposeSelectionTemplates.Add(new VisitPurposeSelection(visitPurposeType, VisitPurposeState.Unhandled, isPreSelected));
 }