MicroElements source code only package: IsExternalInit. Record support for dotnet versions before .NET 5.0.
$ dotnet add package MicroElements.IsExternalInitSupport for record type for dotnet versions before .Net 5
Source only package does not forces binary reference on it. Just add package and use as code.
MicroElements.IsExternalInit has the same functionality as https://github.com/manuelroemer/IsExternalInit and partially compatible with it.
MicroElements.IsExternalInit aligned with other MicroElements packages.
IsExternalInit is compatible with the following target framework range:
.NET Standard 2.0, .NET Standard 2.1.NET Core 3.1 .. .NET 5.0)ME_EXTERNALINIT_ENABLE - enables IsExternalInit class regardless other conditionsME_EXTERNALINIT_DISABLE - disables IsExternalInit