Dev (#14)
* Fixed dependency * Updates to NeoDictionary * Changes to NeoDictionary * Started working on a Git implementation to integrate into Game Engines in the future * Added commit functionality to the git library * New changes * Added select for NeoDictionary.cs * Fixed issue with previous new method * Added a Benchmarking Tool to be used mostly in game engines * Added IndexOf to NeoDictionary.cs * Added new method for BenchmarkUtility.cs * added an instacedobject class * Added a new shuffle method for lists * fixed return type * Added new Changelog generator * Added new Game logic library to assist with game projects * Added Web Project * Added Nuget package configs * Add workflow for publishing game library NuGet package * Add README for OmegaLeo's Helper Library * Updated Website to reflect all libraries * Fixed missing library in Changelog * Added Contributing and Code of Conduct * Fixed web project * new documentation changes * fix packages * Fixed DocumentationHelper package dependencies * Added Serilog * Added logging * Fixed documentation * Added logging for cache * fixed documentation * Updated README.md * Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update OmegaLeo.HelperLib.Web/Controllers/HomeController.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update OmegaLeo.HelperLib.Web/Controllers/HomeController.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix error * changes for Github Packages * Cleanup * Started working on a SteamWorks integration * Added logging * Started working on a Steam library --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit was merged in pull request #14.
This commit is contained in:
@@ -81,9 +81,44 @@
|
||||
<tbody>
|
||||
@foreach (var desc in classDoc.Descriptions)
|
||||
{
|
||||
var methodParameters = desc.MethodParameters ?? Array.Empty<string>();
|
||||
var attributeParameters = desc.Parameters ?? Array.Empty<string>();
|
||||
var methodParameterSet = new HashSet<string>(methodParameters, StringComparer.OrdinalIgnoreCase);
|
||||
var filteredAttributeParameters = attributeParameters
|
||||
.Where(p => !methodParameterSet.Contains(p))
|
||||
.Distinct(StringComparer.OrdinalIgnoreCase)
|
||||
.ToArray();
|
||||
|
||||
<tr>
|
||||
<td><code>@desc.Title</code></td>
|
||||
<td>@Html.Raw(Markdig.Markdown.ToHtml(desc.Description))<br/>
|
||||
@if (desc.ReturnType.IsNotNullOrEmpty())
|
||||
{
|
||||
<strong>Returns:</strong> <code>@desc.ReturnType</code><br/>
|
||||
}
|
||||
|
||||
@if (methodParameters.Any())
|
||||
{
|
||||
<strong>Parameters:</strong>
|
||||
<ul class="mb-2">
|
||||
@foreach (var methodParameter in methodParameters)
|
||||
{
|
||||
<li><code>@methodParameter</code></li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
||||
@if (filteredAttributeParameters.Any())
|
||||
{
|
||||
<strong>Attribute Args:</strong>
|
||||
<ul class="mb-2">
|
||||
@foreach (var attributeParameter in filteredAttributeParameters)
|
||||
{
|
||||
<li><code>@attributeParameter</code></li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
||||
@if (desc.CodeExample.IsNotNullOrEmpty())
|
||||
{
|
||||
<strong>Example:</strong><br/>
|
||||
|
||||
@@ -39,6 +39,9 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" asp-area="" asp-controller="Home" asp-action="Library" asp-route-id="shared">Shared Components</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" asp-area="" asp-controller="Home" asp-action="Library" asp-route-id="steamworks">Steamworks</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="navbar-nav ms-auto">
|
||||
|
||||
Reference in New Issue
Block a user