Plugin class name can now have any name.

This commit is contained in:
Stone-Red-Code
2021-08-16 18:19:42 +02:00
parent 1e57ec1b6a
commit d46976fec8
92 changed files with 109 additions and 76 deletions
+3 -3
View File
@@ -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()
{
+3 -3
View File
@@ -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;
+2 -2
View File
@@ -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"
}
}
}
@@ -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\
@@ -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\" />
@@ -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\
@@ -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": [