当前位置: 首页>>代码示例>>C#>>正文


C# AttributedType类代码示例

本文整理汇总了C#中AttributedType的典型用法代码示例。如果您正苦于以下问题:C# AttributedType类的具体用法?C# AttributedType怎么用?C# AttributedType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


AttributedType类属于命名空间,在下文中一共展示了AttributedType类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AttributedType

 protected AttributedType(AttributedType.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.Type.Internal*) native)
 {
 }
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:4,代码来源:AST.cs

示例2: __CopyValue

 private static AttributedType.Internal* __CopyValue(AttributedType.Internal native)
 {
     var ret = Marshal.AllocHGlobal(40);
     CppSharp.Parser.AST.AttributedType.Internal.cctor_2(ret, new global::System.IntPtr(&native));
     return (AttributedType.Internal*) ret;
 }
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:6,代码来源:AST.cs

示例3: AttributedType

 protected AttributedType(AttributedType.Internal* native, bool skipVTables = false)
     : base((CppSharp.Parser.AST.Type.Internal*) null)
 {
     __PointerAdjustment = 0;
     if (native == null)
         return;
     __Instance = new global::System.IntPtr(native);
 }
开发者ID:CSRedRat,项目名称:CppSharp,代码行数:8,代码来源:AST.cs

示例4: __CreateInstance

 public static AttributedType __CreateInstance(AttributedType.Internal native)
 {
     return new AttributedType(native);
 }
开发者ID:RainsSoft,项目名称:CppSharp,代码行数:4,代码来源:AST.cs

示例5: __CreateInstance

 public static AttributedType __CreateInstance(AttributedType.Internal native, bool skipVTables = false)
 {
     return new AttributedType(native, skipVTables);
 }
开发者ID:CSRedRat,项目名称:CppSharp,代码行数:4,代码来源:AST.cs

示例6: __CopyValue

 private static void* __CopyValue(AttributedType.__Internal native)
 {
     var ret = Marshal.AllocHGlobal(24);
     global::CppSharp.Parser.AST.AttributedType.__Internal.cctor_2(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }
开发者ID:ddobrev,项目名称:CppSharp,代码行数:6,代码来源:CppSharp.CppParser.cs

示例7: AttributedType

 internal AttributedType(AttributedType.Internal native)
     : this(&native)
 {
 }
开发者ID:kidleon,项目名称:CppSharp,代码行数:4,代码来源:AST.cs

示例8: AttributedType

 private AttributedType(AttributedType.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
 }
开发者ID:KonajuGames,项目名称:CppSharp,代码行数:5,代码来源:AST.cs

示例9: AttributedType

 internal AttributedType(AttributedType.Internal native)
     : this(__CopyValue(native))
 {
 }
开发者ID:vovkasm,项目名称:CppSharp,代码行数:4,代码来源:AST.cs


注:本文中的AttributedType类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。