本文整理匯總了C#中MonoMac.Foundation.NSCoder類的典型用法代碼示例。如果您正苦於以下問題:C# NSCoder類的具體用法?C# NSCoder怎麽用?C# NSCoder使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
NSCoder類屬於MonoMac.Foundation命名空間,在下文中一共展示了NSCoder類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: CLRegion
public CLRegion (NSCoder coder) : base (NSObjectFlag.Empty)
{
if (IsDirectBinding) {
Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle);
} else {
Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle);
}
}
示例2: RestoreState
public override void RestoreState(NSCoder coder)
{
base.RestoreState (coder);
if (!coder.ContainsKey ("savedNoteId"))
return;
var id = (NSString)coder.DecodeObject ("savedNoteId");
if (!string.IsNullOrEmpty (id))
LoadNote (id);
}
示例3: EncodeTo
public virtual void EncodeTo(NSCoder coder)
{
if (coder == null)
throw new ArgumentNullException ("coder");
if (IsDirectBinding) {
Messaging.void_objc_msgSend_intptr (this.Handle, selAwakeFromNib, coder.Handle);
} else {
Messaging.void_objc_msgSendSuper_intptr (this.SuperHandle, selAwakeFromNib, coder.Handle);
}
}
示例4: AnimatingViewsWindowController
public AnimatingViewsWindowController (NSCoder coder) : base(coder)
{
}
示例5: EncodeRestorableState
public override void EncodeRestorableState (NSCoder coder)
{
base.EncodeRestorableState (coder);
coder.Encode (new NSString (string.IsNullOrEmpty (currentUrl) ? string.Empty : currentUrl), "monodoc.currentUrl");
}
示例6: MainWindow
public MainWindow (NSCoder coder) : base(coder)
{
Initialize ();
}
示例7: MainWindowController
public MainWindowController(NSCoder coder)
: base(coder)
{
Initialize();
}
示例8: FirstView
public FirstView (NSCoder coder) : base (coder)
{
Initialize ();
}
示例9: SetupSubTutorialEnd
public SetupSubTutorialEnd (NSCoder coder) : base (coder)
{
Initialize ();
}
示例10: BookmarkAssistant
public BookmarkAssistant (NSCoder coder) : base (coder)
{
}
示例11: PreferencesWindowController
public PreferencesWindowController (NSCoder coder) : base (coder)
{
Initialize ();
}
示例12: BookmarkPopover
public BookmarkPopover (NSCoder coder) : base (coder)
{
Initialize ();
}
示例13: WindowFrontMessageController
public WindowFrontMessageController (NSCoder coder) : base (coder)
{
Initialize ();
}
示例14: SettingsWindowController
public SettingsWindowController(NSCoder coder)
: base(coder)
{
Initialize();
}
示例15: GeneralView
public GeneralView (NSCoder coder) : base (coder)
{
Initialize ();
}