Пример #1
0
 public virtual void Visit(UsingBlock block)
 {
 }
Пример #2
0
 public override void Visit(UsingBlock block)
 {
     foreach (UsingDirective dir in block.VMembers.Children)
     {
         WriteIndent();
         Visit(dir);
         NewLine();
     }
 }
Пример #3
0
 public override void Visit(UsingBlock block)
 {
 }
Пример #4
0
 private void Add(UsingBlock usingSection, UsingDirective usingEntry)
 {
     if (usingSection.VMembers.Children.Count == 1
         && usingSection.FirstUsing != null
         && usingSection.FirstUsing.Text == "")
     {
         usingSection.VMembers.Children.Replace(usingSection.FirstUsing, usingEntry);
     }
     else
     {
         usingSection.VMembers.Children.Add(usingEntry);
     }
 }