public StylesheetList(WebBrowser control, nsIDOMStyleSheetList stylesheetList) : base (control) { if (control.platform != control.enginePlatform) unmanagedStyles = nsDOMStyleSheetList.GetProxy (control, stylesheetList); else unmanagedStyles = stylesheetList; styles = new List<IStylesheet>(); }
public StylesheetList(WebBrowser control, nsIDOMStyleSheetList stylesheetList) : base(control) { if (control.platform != control.enginePlatform) { unmanagedStyles = nsDOMStyleSheetList.GetProxy(control, stylesheetList); } else { unmanagedStyles = stylesheetList; } styles = new List <IStylesheet>(); }
public static nsIDOMStyleSheetList GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMStyleSheetList obj) { object o = Base.GetProxyForObject (control, typeof(nsIDOMStyleSheetList).GUID, obj); return o as nsIDOMStyleSheetList; }
public static nsIDOMStyleSheetList GetProxy(Mono.WebBrowser.IWebBrowser control, nsIDOMStyleSheetList obj) { object o = Base.GetProxyForObject(control, typeof(nsIDOMStyleSheetList).GUID, obj); return(o as nsIDOMStyleSheetList); }