20 строки
361 B
C#
20 строки
361 B
C#
using System;
|
|
|
|
using Foundation;
|
|
using ObjCRuntime;
|
|
|
|
namespace NoAsyncInternalWrapperTests {
|
|
[Protocol]
|
|
interface MyFooDelegate {
|
|
|
|
[Abstract]
|
|
[Async]
|
|
[Export ("requiredMethod:completion:")]
|
|
void RequiredMethod (int arg1, Action<NSError> err);
|
|
|
|
[Async]
|
|
[Export ("optional:completion:")]
|
|
void OptionalMethod (int arg1, Action<NSError> err);
|
|
}
|
|
}
|