本文整理匯總了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)
{
}
示例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;
}
示例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);
}
示例4: __CreateInstance
public static AttributedType __CreateInstance(AttributedType.Internal native)
{
return new AttributedType(native);
}
示例5: __CreateInstance
public static AttributedType __CreateInstance(AttributedType.Internal native, bool skipVTables = false)
{
return new AttributedType(native, skipVTables);
}
示例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();
}
示例7: AttributedType
internal AttributedType(AttributedType.Internal native)
: this(&native)
{
}
示例8: AttributedType
private AttributedType(AttributedType.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
}
示例9: AttributedType
internal AttributedType(AttributedType.Internal native)
: this(__CopyValue(native))
{
}