[SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] // Not good but otherwise tests don't work.
 public AnnotationTagRelation(AnnotationTag firstTag, AnnotationTag secondTag, string name = "", string arrowStyle = "", string color = "")
 {
     FirstTag    = firstTag;
     FirstTagId  = firstTag.Id;
     SecondTag   = secondTag;
     SecondTagId = secondTag.Id;
     Name        = name;
     ArrowStyle  = arrowStyle;
     Color       = color;
 }
Esempio n. 2
0
 public AnnotationTagInstance(AnnotationTag model)
 {
     TagModel   = model;
     TagModelId = model.Id;
 }