diff --git a/ElectronNET.API/App.cs b/ElectronNET.API/App.cs
index e4849ad..d1b39dd 100644
--- a/ElectronNET.API/App.cs
+++ b/ElectronNET.API/App.cs
@@ -7,6 +7,9 @@ using System.Threading.Tasks;
namespace ElectronNET.API
{
+ ///
+ /// Control your application's event lifecycle.
+ ///
public sealed class App
{
///
@@ -1334,7 +1337,7 @@ namespace ElectronNET.API
return await taskCompletionSource.Task;
}
- // TODO: Menu lösung muss gemacht werden und imeplementiert
+ // TODO: Menu lösung für macOS muss gemacht werden und imeplementiert
///
/// Sets the application's dock menu.
///
diff --git a/ElectronNET.API/BridgeSettings.cs b/ElectronNET.API/BridgeSettings.cs
index 2f32157..96a2653 100644
--- a/ElectronNET.API/BridgeSettings.cs
+++ b/ElectronNET.API/BridgeSettings.cs
@@ -1,8 +1,24 @@
namespace ElectronNET.API
{
+ ///
+ ///
+ ///
public static class BridgeSettings
{
- public static string SocketPort { get; set; }
- public static string WebPort { get; set; }
+ ///
+ /// Gets the socket port.
+ ///
+ ///
+ /// The socket port.
+ ///
+ public static string SocketPort { get; internal set; }
+
+ ///
+ /// Gets the web port.
+ ///
+ ///
+ /// The web port.
+ ///
+ public static string WebPort { get; internal set; }
}
}
diff --git a/ElectronNET.API/BrowserWindow.cs b/ElectronNET.API/BrowserWindow.cs
index 77ccedf..bd4d0f6 100644
--- a/ElectronNET.API/BrowserWindow.cs
+++ b/ElectronNET.API/BrowserWindow.cs
@@ -10,8 +10,17 @@ using System.Threading.Tasks;
namespace ElectronNET.API
{
+ ///
+ /// Create and control browser windows.
+ ///
public class BrowserWindow
{
+ ///
+ /// Gets the identifier.
+ ///
+ ///
+ /// The identifier.
+ ///
public int Id { get; private set; }
///
@@ -1112,6 +1121,10 @@ namespace ElectronNET.API
BridgeConnector.Socket.Emit("browserWindowSetBounds", Id, JObject.FromObject(bounds, _jsonSerializer), animate);
}
+ ///
+ /// Gets the bounds asynchronous.
+ ///
+ ///
public Task GetBoundsAsync()
{
var taskCompletionSource = new TaskCompletionSource();
@@ -1146,6 +1159,10 @@ namespace ElectronNET.API
BridgeConnector.Socket.Emit("browserWindowSetContentBounds", Id, JObject.FromObject(bounds, _jsonSerializer), animate);
}
+ ///
+ /// Gets the content bounds asynchronous.
+ ///
+ ///
public Task GetContentBoundsAsync()
{
var taskCompletionSource = new TaskCompletionSource();
@@ -1166,7 +1183,6 @@ namespace ElectronNET.API
///
///
///
- ///
public void SetSize(int width, int height)
{
BridgeConnector.Socket.Emit("browserWindowSetSize", Id, width, height);
@@ -1207,7 +1223,6 @@ namespace ElectronNET.API
///
///
///
- ///
public void SetContentSize(int width, int height)
{
BridgeConnector.Socket.Emit("browserWindowSetContentSize", Id, width, height);
@@ -1742,11 +1757,17 @@ namespace ElectronNET.API
return taskCompletionSource.Task;
}
+ ///
+ /// Focuses the on web view.
+ ///
public void FocusOnWebView()
{
BridgeConnector.Socket.Emit("browserWindowFocusOnWebView", Id);
}
+ ///
+ /// Blurs the web view.
+ ///
public void BlurWebView()
{
BridgeConnector.Socket.Emit("browserWindowBlurWebView", Id);
@@ -1781,7 +1802,13 @@ namespace ElectronNET.API
BridgeConnector.Socket.Emit("browserWindowReload", Id);
}
- public IReadOnlyCollection