private GeckoSelection(nsISelection selection) { // selection is always NOT null, when we use Create function //if (selection == null) // throw new ArgumentException("selection"); _selection = new ComPtr<nsISelection>(selection); }
private GeckoSelection(nsISelection selection) { // selection is always NOT null, when we use Create function //if (selection == null) // throw new ArgumentException("selection"); this.Selection = selection; }
internal GeckoSelection(nsISelection selection) { if (selection == null) { throw new ArgumentException("selection"); } this.Selection = selection; }
public static nsISelection GetProxy(Mono.WebBrowser.IWebBrowser control, nsISelection obj) { object o = Base.GetProxyForObject(control, typeof(nsISelection).GUID, obj); return(o as nsISelection); }
internal GeckoSelection(nsISelection selection) { this.Selection = selection; }
private DomSelection(nsISelection selection) { Debug.Assert(selection != null); m_Selection = selection; }
internal static GeckoSelection Create(nsISelection selection) { return(selection == null ? null : new GeckoSelection(selection)); }
internal GeckoSelection(nsISelection selection) { if (selection == null) throw new ArgumentException("selection"); this.Selection = selection; }
private GeckoSelection(mozIDOMWindowProxy window, nsISelection selection) { _window = window; _selection = new Lazy <Selection>(() => new WebIDL.Selection((mozIDOMWindowProxy)_window, (nsISupports)selection)); this.Selection = selection; }
internal static GeckoSelection Create(nsISelection selection) { return selection == null ? null : new GeckoSelection( selection ); }
internal static DomSelection Create(nsISelection selection) { return selection != null ? new DomSelection(selection) : null; }
public void UpdateCommands(string action, nsISelection sel, short reason) { this.CallVoidMethod("updateCommands", action, sel, reason); }
public void UpdateCommands(string action, nsISelection sel) { this.CallVoidMethod("updateCommands", action, sel); }
public static nsISelection GetProxy (Mono.WebBrowser.IWebBrowser control, nsISelection obj) { object o = Base.GetProxyForObject (control, typeof(nsISelection).GUID, obj); return o as nsISelection; }
internal static GeckoSelection Create(mozIDOMWindowProxy window, nsISelection selection) { return(selection == null ? null : new GeckoSelection(window, selection)); }