本文整理汇总了C#中ParagraphComment类的典型用法代码示例。如果您正苦于以下问题:C# ParagraphComment类的具体用法?C# ParagraphComment怎么用?C# ParagraphComment使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ParagraphComment类属于命名空间,在下文中一共展示了ParagraphComment类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ParagraphComment
private ParagraphComment(ParagraphComment.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:6,代码来源:AST.cs
示例2: __CreateInstance
public static ParagraphComment __CreateInstance(ParagraphComment.Internal native)
{
return new ParagraphComment(native);
}
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例3: __CopyValue
private static ParagraphComment.Internal* __CopyValue(ParagraphComment.Internal native)
{
var ret = Marshal.AllocHGlobal(32);
CppSharp.Parser.AST.ParagraphComment.Internal.cctor_2(ret, new global::System.IntPtr(&native));
return (ParagraphComment.Internal*) ret;
}
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:6,代码来源:AST.cs
示例4: ParagraphComment
protected ParagraphComment(ParagraphComment.Internal* native, bool skipVTables = false)
: base((CppSharp.Parser.AST.BlockContentComment.Internal*) null)
{
__PointerAdjustment = 0;
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
开发者ID:CSRedRat,项目名称:CppSharp,代码行数:8,代码来源:AST.cs
示例5: __CreateInstance
public static ParagraphComment __CreateInstance(ParagraphComment.Internal native, bool skipVTables = false)
{
return new ParagraphComment(native, skipVTables);
}
开发者ID:CSRedRat,项目名称:CppSharp,代码行数:4,代码来源:AST.cs
示例6: __CopyValue
private static void* __CopyValue(ParagraphComment.__Internal native)
{
var ret = Marshal.AllocHGlobal(20);
global::CppSharp.Parser.AST.ParagraphComment.__Internal.cctor_1(ret, new global::System.IntPtr(&native));
return ret.ToPointer();
}
开发者ID:ddobrev,项目名称:CppSharp,代码行数:6,代码来源:CppSharp.CppParser.cs
示例7: DocumentType
public void DocumentType(Class type)
{
var node = this.classNodes.Find(
c => c.Attribute("location").Value == type.TranslationUnit.FileName &&
c.Attribute("name").Value == type.OriginalName);
if (node != null)
{
var file = node.Attribute("href").Value;
if (this.typesDocumentation.ContainsKey(file))
{
var docs = this.typesDocumentation[file];
var briefText = StripTags(docs[0].InnerHtml);
var text = StripTags(ConstructDocumentText(docs.Skip(1)));
type.Comment = new RawComment
{
BriefText = briefText,
// TODO: create links in the "See Also" section; in general, convert all links
Text = text,
FullComment = new FullComment()
};
var paragraphComment = new ParagraphComment();
paragraphComment.Content.Add(new TextComment { Text = briefText });
paragraphComment.Content.AddRange(text.Split('\n').Select(t => new TextComment { Text = t }));
type.Comment.FullComment.Blocks.Add(paragraphComment);
}
}
}
开发者ID:nanox,项目名称:QtSharp,代码行数:27,代码来源:Documentation.cs
注:本文中的ParagraphComment类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论