public override void EncodeRestorableState(NSCoder coder) { base.EncodeRestorableState (coder); if (!string.IsNullOrEmpty (currentNoteID)) coder.Encode (new NSString (currentNoteID), "savedNoteId"); }
public override void EncodeRestorableState (NSCoder coder) { base.EncodeRestorableState (coder); coder.Encode (new NSString (string.IsNullOrEmpty (currentUrl) ? string.Empty : currentUrl), "monodoc.currentUrl"); }
public void Encode (NSCoder coder) { coder.Encode ((NSString)_name, "name"); coder.Encode (_data, "data"); }