-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add inspectors and remove debug file
- Loading branch information
1 parent
2c5bcb3
commit bdd57d3
Showing
38 changed files
with
118 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+69 KB
(140%)
src-net5/LangPad/bin/Wpf/net5.0-windows/Microsoft.Web.WebView2.Core.dll
Binary file not shown.
Binary file modified
BIN
+1016 Bytes
(100%)
src-net5/LangPad/bin/Wpf/net5.0-windows/Microsoft.Web.WebView2.WinForms.dll
Binary file not shown.
Binary file modified
BIN
+3.47 KB
(110%)
src-net5/LangPad/bin/Wpf/net5.0-windows/Microsoft.Web.WebView2.Wpf.dll
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
src-net5/LangPad/bin/Wpf/net5.0-windows/runtimes/win-arm64/native/WebView2Loader.dll
Binary file not shown.
Binary file modified
BIN
-32 Bytes
(100%)
src-net5/LangPad/bin/Wpf/net5.0-windows/runtimes/win-x64/native/WebView2Loader.dll
Binary file not shown.
Binary file modified
BIN
-3.53 KB
(97%)
src-net5/LangPad/bin/Wpf/net5.0-windows/runtimes/win-x86/native/WebView2Loader.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace LangPadData.Inspectors | ||
{ | ||
public interface IInspectable<ValueEnumType> | ||
{ | ||
// To be fired when something has changed on the object being inspected | ||
public event EventHandler<InspectorValueChangedEventArgs<ValueEnumType>> ValueChanged; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src-net5/LangPadData/Inspectors/InspectorValueChangedEventArgs.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace LangPadData.Inspectors | ||
{ | ||
/// <summary> | ||
/// The EventArgs for a value change on a inspector. | ||
/// </summary> | ||
/// | ||
/// <typeparam name="ValueEnumType">The type of the value being changed.</typeparam> | ||
public class InspectorValueChangedEventArgs<ValueEnumType> : EventArgs | ||
{ | ||
public object OldValue { get; set; } | ||
public object NewValue { get; set; } | ||
public ValueEnumType TargetValue { get; set; } | ||
} | ||
} |
Oops, something went wrong.