xamarin-macios/tests/generator/bug15283.cs

19 строки
344 B
C#

using System;
using System.Drawing;
using ObjCRuntime;
using Foundation;
using UIKit;
using System.Runtime.InteropServices;
namespace BindingTests
{
delegate NSObject MyBlockToBind (NSObject[] keys);
[BaseType (typeof (NSObject))]
interface TestInterface {
[Export ("testMethod:")]
void TestMethod (MyBlockToBind myBlockToBind);
}
}