Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.23 KB

File metadata and controls

26 lines (16 loc) · 1.23 KB

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.