本文整理汇总了C#中ISyntaxHighlightOutput.WriteFilename方法的典型用法代码示例。如果您正苦于以下问题:C# ISyntaxHighlightOutput.WriteFilename方法的具体用法?C# ISyntaxHighlightOutput.WriteFilename怎么用?C# ISyntaxHighlightOutput.WriteFilename使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ISyntaxHighlightOutput
的用法示例。
在下文中一共展示了ISyntaxHighlightOutput.WriteFilename方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: WriteToolTip
protected override void WriteToolTip(ISyntaxHighlightOutput output, ILanguage language) {
output.Write(DnSpyFile.AssemblyDef);
output.WriteLine();
output.Write(TargetFrameworkInfo.Create(DnSpyFile.AssemblyDef.ManifestModule).ToString(), TextTokenKind.EnumField);
output.WriteLine();
output.Write(TargetFrameworkUtils.GetArchString(DnSpyFile.AssemblyDef.ManifestModule), TextTokenKind.EnumField);
output.WriteLine();
output.WriteFilename(DnSpyFile.Filename);
}
示例2: Write
protected override void Write(ISyntaxHighlightOutput output, ILanguage language) {
output.WriteFilename(Path.GetFileName(file.Filename));
}
示例3: WriteToolTip
protected override void WriteToolTip(ISyntaxHighlightOutput output, ILanguage language) {
output.Write(TargetFrameworkUtils.GetArchString(DnSpyFile.PEImage.ImageNTHeaders.FileHeader.Machine), TextTokenKind.EnumField);
output.WriteLine();
output.WriteFilename(DnSpyFile.Filename);
}
示例4: WriteToolTip
protected override void WriteToolTip(ISyntaxHighlightOutput output, ILanguage language)
{
output.Write(DnSpyFile.AssemblyDef);
output.WriteLine();
output.Write(ExeUtils.GetDotNetVersion(DnSpyFile.AssemblyDef.ManifestModule), TextTokenKind.EnumField);
output.WriteLine();
output.Write(ExeUtils.GetArchString(DnSpyFile.AssemblyDef.ManifestModule), TextTokenKind.EnumField);
output.WriteLine();
output.WriteFilename(DnSpyFile.Filename);
}
示例5: WriteManifestResourceInfo
void WriteManifestResourceInfo(ISyntaxHighlightOutput output) {
output.WriteFilename(ReadStringsHeap(2));
}
示例6: WriteFileInfo
void WriteFileInfo(ISyntaxHighlightOutput output) {
output.WriteFilename(ReadStringsHeap(1));
}
示例7: Write
protected override sealed void Write(ISyntaxHighlightOutput output, ILanguage language)
{
output.WriteFilename(resourceElement.Name);
}