Ejemplo n.º 1
0
 internal void CopyAnnotationsFrom(FrugalList <object> other)
 {
     _annotations = other.Clone();
     foreach (var anno in _annotations.OfType <IDomObjectReferenceLifecycle>())
     {
         anno.Attaching(this);
     }
 }
Ejemplo n.º 2
0
 public bool HasAnnotation <T>() where T : class
 {
     return(_annotations.OfType <T>().Any());
 }