mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 08:56:15 +02:00
Plugin class name can now have any name.
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
namespace DesktopMagicPluginAPI.Inputs
|
||||
{
|
||||
/// <summary>
|
||||
/// The element base class
|
||||
/// The element base class.
|
||||
/// </summary>
|
||||
public abstract class Element
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when the value has been changed
|
||||
/// Occurs when the value has been changed.
|
||||
/// </summary>
|
||||
public event Action OnValueChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Triggers the <see cref="OnValueChanged"/> event
|
||||
/// Triggers the <see cref="OnValueChanged"/> event.
|
||||
/// </summary>
|
||||
protected void ValueChanged()
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
private string _value;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the text associated with this control.
|
||||
/// Gets or sets the text associated with this <see cref="Label"/>.
|
||||
/// </summary>
|
||||
public string Value
|
||||
{
|
||||
@@ -31,8 +31,8 @@
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Label"/> class with the provided <paramref name="value"/>.
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <param name="bold"></param>
|
||||
/// <param name="value">The text associated with this <see cref="Label"/></param>
|
||||
/// <param name="bold">A value indicating whether the content of the <see cref="Label"/> is bold or not.</param>
|
||||
public Label(string value, bool bold = false)
|
||||
{
|
||||
Value = value;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
private string _value;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the text associated with this control.
|
||||
/// Gets or sets the text associated with this <see cref="TextBox"/>.
|
||||
/// </summary>
|
||||
public string Value
|
||||
{
|
||||
@@ -26,7 +26,7 @@
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TextBox"/> class with the provided <paramref name="value"/>.
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <param name="value">The text associated with this control.</param>
|
||||
public TextBox(string value)
|
||||
{
|
||||
Value = value;
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
".NETCoreApp,Version=v5.0": {
|
||||
"DesktopMagicPluginAPI/0.0.0.1": {
|
||||
"dependencies": {
|
||||
"System.Drawing.Common": "5.0.2"
|
||||
"System.Drawing.Common": "5.0.2",
|
||||
"Vsxmd": "1.4.5"
|
||||
},
|
||||
"runtime": {
|
||||
"DesktopMagicPluginAPI.dll": {}
|
||||
@@ -58,7 +59,8 @@
|
||||
"fileVersion": "5.0.421.11614"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Vsxmd/1.4.5": {}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
@@ -87,6 +89,13 @@
|
||||
"sha512": "sha512-rvr/M1WPf24ljpvvrVd74+NdjRUJu1bBkspkZcnzSZnmAUQWSvanlQ0k/hVHk+cHufZbZfu7vOh/vYc0q5Uu/A==",
|
||||
"path": "system.drawing.common/5.0.2",
|
||||
"hashPath": "system.drawing.common.5.0.2.nupkg.sha512"
|
||||
},
|
||||
"Vsxmd/1.4.5": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-mvTZKIhKUFvcjYv/p9dxgSFHrAlNFIemT3ai1XAFV4yJYGu/6e73NgzfHwhDi0QevuYURVdd+p088CG6KQFENg==",
|
||||
"path": "vsxmd/1.4.5",
|
||||
"hashPath": "vsxmd.1.4.5.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
+2
@@ -6,3 +6,5 @@ build_property.ProjectTypeGuids =
|
||||
build_property.PublishSingleFile =
|
||||
build_property.IncludeAllContentForSelfExtract =
|
||||
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
|
||||
build_property.RootNamespace = DesktopMagicPluginAPI
|
||||
build_property.ProjectDir = C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\
|
||||
|
||||
+1
@@ -22,3 +22,4 @@ C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\obj\Debug\ne
|
||||
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\obj\Debug\net5.0\ref\DesktopMagicPluginAPI.dll
|
||||
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\obj\Debug\net5.0\DesktopMagicPluginAPI.pdb
|
||||
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\bin\Debug\net5.0\DesktopMagicPluginAPI.xml
|
||||
C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\obj\Debug\net5.0\DesktopMagicPluginAPI.csproj.AssemblyReference.cache
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.303\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\David\.nuget\packages\" />
|
||||
|
||||
+2
@@ -6,3 +6,5 @@ build_property.ProjectTypeGuids =
|
||||
build_property.PublishSingleFile =
|
||||
build_property.IncludeAllContentForSelfExtract =
|
||||
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
|
||||
build_property.RootNamespace = DesktopMagicPluginAPI
|
||||
build_property.ProjectDir = C:\Users\David\Programmieren\DesktopMagic\src\DesktopMagicPluginAPI\
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -245,7 +245,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.303\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "PrK4R+l3u6JxzuOYWiCjlfnd+WV7XnD5wEgbNXGd4yrETRuwSZYzCVaO3kcGaySPvSCHzBOcoR2lQzmgUWzZEQ==",
|
||||
"dgSpecHash": "DePY+NmPPolbFZEQfF/BclhlaHW5e9A0c0KFBniYdpUMi2mrXUjkQw5rGqYNJTenSasOdPdRGhzycT+XwTkE9w==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\David\\Programmieren\\DesktopMagic\\src\\DesktopMagicPluginAPI\\DesktopMagicPluginAPI.csproj",
|
||||
"expectedPackageFiles": [
|
||||
|
||||
Reference in New Issue
Block a user