Example #1
0
		internal Properties(nsIProperties properties)
		{
			_properties = properties;
		//    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
		//System.IntPtr Get([MarshalAs(UnmanagedType.LPStr)] string prop, ref System.Guid iid);
		
		///// <summary>
		///// Sets a property with a given name to a given value.
		///// </summary>
		//[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
		//void Set([MarshalAs(UnmanagedType.LPStr)] string prop, [MarshalAs(UnmanagedType.Interface)] nsISupports value);
		}
        internal Properties(nsIProperties properties)
        {
            _properties = properties;
            //    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
            //System.IntPtr Get([MarshalAs(UnmanagedType.LPStr)] string prop, ref System.Guid iid);

            ///// <summary>
            ///// Sets a property with a given name to a given value.
            ///// </summary>
            //[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
            //void Set([MarshalAs(UnmanagedType.LPStr)] string prop, [MarshalAs(UnmanagedType.Interface)] nsISupports value);
        }
Example #3
0
 internal Properties(nsIProperties properties)
 {
     _properties = properties;
 }
Example #4
0
 internal Properties(nsIProperties properties)
 {
     _properties = new ComPtr<nsIProperties>( properties );
 }
Example #5
0
        public static nsIProperties GetProxy(Mono.WebBrowser.IWebBrowser control, nsIProperties obj)
        {
            object o = Base.GetProxyForObject(control, typeof(nsIProperties).GUID, obj);

            return(o as nsIProperties);
        }
Example #6
0
		public static nsIProperties GetProxy (Mono.WebBrowser.IWebBrowser control, nsIProperties obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsIProperties).GUID, obj);
			return o as nsIProperties;
		}