Esempio n. 1
0
 public string f()
 {
     if ((this.value == null) || (this.value == Convert.DBNull))
     {
         return(string.Empty);
     }
     return(ULString.FilteredHtml(Convert.ToString(this.value)));
 }
Esempio n. 2
0
 public ULStringGeneratedDllImportMarshaler(string str)
 {
     unsafe
     {
         ptr = new()
         {
             data   = (ushort *)Marshal.StringToCoTaskMemUni(str),
             length = (nuint)str.Length
         };
     }
 }
Esempio n. 3
0
 public static extern void ulConfigSetUserStylesheet(ULConfig config, ULString css_string);
Esempio n. 4
0
 public static extern void ulConfigSetUserAgent(ULConfig config, ULString agent_string);
Esempio n. 5
0
 public static extern void ulConfigSetFontFamilySansSerif(ULConfig config, ULString font_name);
Esempio n. 6
0
 public static extern void ulConfigSetFontFamilyFixed(ULConfig config, ULString font_name);
Esempio n. 7
0
 public static extern ULKeyEvent ulCreateKeyEvent(ULKeyEventType type, uint modifiers, int virtual_key_code, int native_key_code, ULString text, ULString unmodified_text, bool is_keypad, bool is_auto_repeat, bool is_system_key);
Esempio n. 8
0
 public static extern bool ulStringIsEmpty(ULString str);
Esempio n. 9
0
 public static extern UIntPtr ulStringGetLength(ULString str);
Esempio n. 10
0
 public static extern /* (ULChar16 *) */ IntPtr ulStringGetData(ULString str);
Esempio n. 11
0
 public static extern void ulDestroyString(ULString str);
Esempio n. 12
0
 public static extern JSValueRef ulViewEvaluateScript(ULView view, ULString js_string);
Esempio n. 13
0
 public static extern void ulViewLoadURL(ULView view, ULString url_string);
Esempio n. 14
0
 public static extern void ulViewLoadHTML(ULView view, ULString html_string);
Esempio n. 15
0
 public static extern void ulSettingsSetFileSystemPath(ULSettings settings, ULString path);
Esempio n. 16
0
 public unsafe static void Log(ULLogLevel level, ULString *ulStr)
 {
     Console.WriteLine(ULString.NativeToManaged(ulStr));
 }