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