public static Window Create(CreateWindowSettings settings) { #if UNIT_TEST_COMPILANT throw new NotImplementedException("Unit tests, don't support methods calls. Only properties can be get or set."); #else return(Internal_Create(ref settings)); #endif }
internal static extern Window Internal_CreateWindow(ref CreateWindowSettings settings);
/// <summary> /// Creates the window. /// </summary> /// <param name="settings">The window settings.</param> /// <returns>The created native window object or null if failed.</returns> public static Window CreateWindow(ref CreateWindowSettings settings) { return(Internal_CreateWindow(ref settings)); }