예제 #1
0
 public override string GetTextDeclaration()
 {
     if (_visibility != Visibility.Invalid)
     {
         return(VisibilityUtil.GetVisibilityString(_visibility) + " " + _declaration);
     }
     else
     {
         return(_declaration);
     }
 }
예제 #2
0
 public override string GetTextTitle()
 {
     if ((_visibility != Visibility.Invalid) && (_category != null))
     {
         return(VisibilityUtil.GetVisibilityString(_visibility) + " " + _category + " " + this.FullName);
     }
     else
     {
         return(this.FullName);
     }
 }