J4JSoftware.MiscellaneousUtilities
2.4.0
See the version list below for details.
dotnet add package J4JSoftware.MiscellaneousUtilities --version 2.4.0
NuGet\Install-Package J4JSoftware.MiscellaneousUtilities -Version 2.4.0
<PackageReference Include="J4JSoftware.MiscellaneousUtilities" Version="2.4.0" />
paket add J4JSoftware.MiscellaneousUtilities --version 2.4.0
#r "nuget: J4JSoftware.MiscellaneousUtilities, 2.4.0"
// Install J4JSoftware.MiscellaneousUtilities as a Cake Addin #addin nuget:?package=J4JSoftware.MiscellaneousUtilities&version=2.4.0 // Install J4JSoftware.MiscellaneousUtilities as a Cake Tool #tool nuget:?package=J4JSoftware.MiscellaneousUtilities&version=2.4.0
J4JSoftware.MiscellaneousUtilities
The library repository is available on github.
The change log is available here.
This assembly contains a few miscellaneous utility methods I've found useful:
- Extension method for extracting PropertyInfo from an Expression
GetPropertyInfo<TContainer, TProp>()
- Static method for validating configuration and output files
FileExtensions.ValidateFilePath()
- Static hashing methods for strings, e.g.,
CalculateHash()
Experimental APIs
This assembly also provides two APIs which I've found helpful in building WPF apps, particularly ones that utilize SyncFusion's WPF controls:
API | Description |
---|---|
SelectableNode | provides a wrapper for selecting nodes that are used in a tree control |
RangeCalculator | provides a means for selecting a reasonable pair of major/minor tick intervals for a range control |
This assembly targets Net 7 and has nullability enabled.
Both of these APIs are experimental and subject to change/removal.
Examples of using both APIs are forthcoming.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on J4JSoftware.MiscellaneousUtilities:
Package | Downloads |
---|---|
J4JSoftware.DependencyInjection
provides customized IHostBuilder and IHost classes for simplified configuration |
|
J4JSoftware.EFCore.Utilities
a utility framework to simplify working with EF Core databases |
GitHub repositories
This package is not used by any popular GitHub repositories.
migrated logging from Serilog to Microsoft