public void AddAnnotation(Annotation annotation)
 {
     _primary.AddAnnotation(annotation);
 }
示例#2
0
 /// <summary>
 /// Adds an <c>Annotation</c> to the repository.  Should be called only once per <c>Annotation</c>, and the
 /// <c>Annotation</c> should have been created by calling <c>CreateAnnotation</c>
 /// </summary>
 /// <param name="annotation"></param>
 public void AddAnnotation(Annotation annotation)
 {
     _repository.AddAnnotation(annotation);
     _repository.SaveNowIfNeeded(new NullProgress());
 }