示例#1
0
 // This will be called from the child EFObject's constructor, so not all of the member variables may be hooked up yet.
 // be careful.  referencing certain fields may cause null-reference exceptions
 internal override void GetXLinqInsertPosition(EFElement child, out XNode insertAt, out bool insertBefore)
 {
     if (child is Documentation)
     {
         // base class will return correct position to insert the Documentation element - these always need to go first
         base.GetXLinqInsertPosition(child, out insertAt, out insertBefore);
     }
     else
     {
         AnnotatableElement.GetInsertPointForAnnotatableElements(this, out insertAt, out insertBefore);
     }
 }
示例#2
0
 internal override void GetXLinqInsertPosition(EFElement child, out XNode insertAt, out bool insertBefore)
 {
     AnnotatableElement.GetInsertPointForAnnotatableElements(this, out insertAt, out insertBefore);
 }