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);
		}
Пример #2
0
        private GeckoSelection(nsISelection selection)
        {
            // selection is always NOT null, when we use Create function
            //if (selection == null)
            //	throw new ArgumentException("selection");

            this.Selection = selection;
        }
Пример #3
0
		private GeckoSelection(nsISelection selection)
		{
			// selection is always NOT null, when we use Create function
			//if (selection == null)
			//	throw new ArgumentException("selection");

			this.Selection = selection;
		}
Пример #4
0
        internal GeckoSelection(nsISelection selection)
        {
            if (selection == null)
            {
                throw new ArgumentException("selection");
            }

            this.Selection = selection;
        }
Пример #5
0
        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;
 }
Пример #7
0
		private DomSelection(nsISelection selection)
		{
			Debug.Assert(selection != null);
			m_Selection = selection;
		}
Пример #8
0
 internal static GeckoSelection Create(nsISelection selection)
 {
     return(selection == null ? null : new GeckoSelection(selection));
 }
Пример #9
0
        internal GeckoSelection(nsISelection selection)
        {
            if (selection == null)
                throw new ArgumentException("selection");

            this.Selection = selection;
        }
Пример #10
0
 internal GeckoSelection(nsISelection selection)
 {
     this.Selection = selection;
 }
Пример #11
0
 private GeckoSelection(mozIDOMWindowProxy window, nsISelection selection)
 {
     _window        = window;
     _selection     = new Lazy <Selection>(() => new WebIDL.Selection((mozIDOMWindowProxy)_window, (nsISupports)selection));
     this.Selection = selection;
 }
Пример #12
0
		internal static GeckoSelection Create(nsISelection selection)
		{
			return selection == null ? null : new GeckoSelection( selection );
		}
Пример #13
0
		internal static DomSelection Create(nsISelection selection)
		{
			return selection != null ? new DomSelection(selection) : null;
		}
Пример #14
0
 public void UpdateCommands(string action, nsISelection sel, short reason)
 {
     this.CallVoidMethod("updateCommands", action, sel, reason);
 }
Пример #15
0
 public void UpdateCommands(string action, nsISelection sel)
 {
     this.CallVoidMethod("updateCommands", action, sel);
 }
Пример #16
0
		public static nsISelection GetProxy (Mono.WebBrowser.IWebBrowser control, nsISelection obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsISelection).GUID, obj);
			return o as nsISelection;
		}
Пример #17
0
 internal static GeckoSelection Create(mozIDOMWindowProxy window, nsISelection selection)
 {
     return(selection == null ? null : new GeckoSelection(window, selection));
 }