public ModalityType(IModalityType type)
 {
     _type = type;
 }
 public ModalityType()
 {
     _type = new EmptyType();
 }
 public ModalityType()
 {
     _type = new EmptyType();
 }
 public ModalityType(IModalityType type)
 {
     _type = type;
 }