Beispiel #1
0
 public string f()
 {
     if ((this.value == null) || (this.value == Convert.DBNull))
     {
         return(string.Empty);
     }
     return(ULString.FilteredHtml(Convert.ToString(this.value)));
 }
Beispiel #2
0
 public ULStringGeneratedDllImportMarshaler(string str)
 {
     unsafe
     {
         ptr = new()
         {
             data   = (ushort *)Marshal.StringToCoTaskMemUni(str),
             length = (nuint)str.Length
         };
     }
 }
Beispiel #3
0
 public static extern void ulConfigSetUserStylesheet(ULConfig config, ULString css_string);
Beispiel #4
0
 public static extern void ulConfigSetUserAgent(ULConfig config, ULString agent_string);
Beispiel #5
0
 public static extern void ulConfigSetFontFamilySansSerif(ULConfig config, ULString font_name);
Beispiel #6
0
 public static extern void ulConfigSetFontFamilyFixed(ULConfig config, ULString font_name);
Beispiel #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);
Beispiel #8
0
 public static extern bool ulStringIsEmpty(ULString str);
Beispiel #9
0
 public static extern UIntPtr ulStringGetLength(ULString str);
Beispiel #10
0
 public static extern /* (ULChar16 *) */ IntPtr ulStringGetData(ULString str);
Beispiel #11
0
 public static extern void ulDestroyString(ULString str);
Beispiel #12
0
 public static extern JSValueRef ulViewEvaluateScript(ULView view, ULString js_string);
Beispiel #13
0
 public static extern void ulViewLoadURL(ULView view, ULString url_string);
Beispiel #14
0
 public static extern void ulViewLoadHTML(ULView view, ULString html_string);
Beispiel #15
0
 public static extern void ulSettingsSetFileSystemPath(ULSettings settings, ULString path);
Beispiel #16
0
 public unsafe static void Log(ULLogLevel level, ULString *ulStr)
 {
     Console.WriteLine(ULString.NativeToManaged(ulStr));
 }