Esempio n. 1
0
 private void ReferenceDeclaration(IIntermediateType declaration)
 {
     if (this.HasNameHandler)
     {
         EndSpan();
         string name = declaration.Accept(this.translator.NameProvider, IntermediateNameRequestDetails.TargetFileName);
         TranslateRelativePath(name);
         referenceStack.Push(declaration);
     }
 }
Esempio n. 2
0
 private void DefineDeclaration(IIntermediateType declaration)
 {
     if (HasNameHandler)
     {
         this.EndSpan();
         this.HandleWriteInternal(string.Format("<a class=\"def\" name=\"{0}\">", declaration.Accept(this.translator.NameProvider, IntermediateNameRequestDetails.ReferenceName)));
     }
 }