29 строки
519 B
C#
29 строки
519 B
C#
#if !XAMCORE_2_0
|
|
#if MONOMAC
|
|
using MonoMac.Foundation;
|
|
using MonoMac.ObjCRuntime;
|
|
#else
|
|
using Foundation;
|
|
using ObjCRuntime;
|
|
#endif
|
|
#else
|
|
using Foundation;
|
|
using ObjCRuntime;
|
|
#endif
|
|
|
|
namespace Test
|
|
{
|
|
|
|
[StrongDictionary ("AdvertisementDataKeys")]
|
|
interface AdvertisementData {
|
|
// ensure that the generator continues to work with classic
|
|
NSDictionary ServiceData { get; set; }
|
|
}
|
|
|
|
[Static, Internal]
|
|
interface AdvertisementDataKeys {
|
|
[Field ("MyFooFieldA", "libFoo.a")]
|
|
NSString ServiceDataKey { get; }
|
|
}
|
|
}
|