FromObject() public static method

public static FromObject ( NSObject obj ) : Monodoc.Node
obj MonoMac.Foundation.NSObject
return Monodoc.Node
Esempio n. 1
0
            public override void SelectionDidChange(NSNotification notification)
            {
                if (parent.ignoreSelect)
                {
                    return;
                }

                var indexes = parent.outlineView.SelectedRows;

                if (indexes.Count == 0)
                {
                    return;
                }

                var node = WrapNode.FromObject(parent.outlineView.ItemAtRow((int)indexes.FirstIndex));

                parent.LoadUrl(node.PublicUrl, false, node.Tree.HelpSource);
            }
Esempio n. 2
0
 static Node GetNode(NSObject obj)
 {
     return(WrapNode.FromObject(obj));
 }