24 строки
410 B
C#
24 строки
410 B
C#
using Foundation;
|
|
|
|
namespace Test
|
|
{
|
|
[BaseType (typeof (NSObject))]
|
|
[Protocol, Model]
|
|
public interface NSTextInputClient
|
|
{
|
|
[Export ("selectedRange")]
|
|
NSRange SelectedRange { get; }
|
|
}
|
|
|
|
[BaseType (typeof (NSObject))]
|
|
public interface NSText
|
|
{
|
|
[Export ("selectedRange")]
|
|
NSRange SelectedRange { get; set; }
|
|
}
|
|
|
|
[BaseType (typeof (NSText))]
|
|
public interface NSTextView : NSTextInputClient
|
|
{
|
|
}
|
|
} |