Smdn.Fundamental.Shim
3.1.1
Prefix Reserved
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Standard 1.6
This package targets .NET Standard 1.6. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Smdn.Fundamental.Shim --version 3.1.1
NuGet\Install-Package Smdn.Fundamental.Shim -Version 3.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Smdn.Fundamental.Shim" Version="3.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smdn.Fundamental.Shim --version 3.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Smdn.Fundamental.Shim, 3.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Smdn.Fundamental.Shim as a Cake Addin #addin nuget:?package=Smdn.Fundamental.Shim&version=3.1.1 // Install Smdn.Fundamental.Shim as a Cake Tool #tool nuget:?package=Smdn.Fundamental.Shim&version=3.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Smdn.Fundamental.Shim
Smdn.Fundamental.Shim.dll
API List
// Smdn.Fundamental.Shim.dll (Smdn.Fundamental.Shim-3.1.1)
// Name: Smdn.Fundamental.Shim
// AssemblyVersion: 3.1.1.0
// InformationalVersion: 3.1.1+fa4d907b50f26bcb536c88ac5286aebd1c2a9de4
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Smdn {
public static class ArrayShim {
public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Converter<TInput, TOutput> converter) {}
public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Func<TInput, TOutput> converter) {}
public static T[] Empty<T>() {}
}
public static class BitOperationsShim {
public static bool IsPow2(int @value) {}
public static bool IsPow2(long @value) {}
public static bool IsPow2(uint @value) {}
public static bool IsPow2(ulong @value) {}
public static int LeadingZeroCount(uint @value) {}
public static int LeadingZeroCount(ulong @value) {}
public static int Log2(uint @value) {}
public static int Log2(ulong @value) {}
public static int PopCount(uint @value) {}
public static int PopCount(ulong @value) {}
public static int TrailingZeroCount(uint @value) {}
public static int TrailingZeroCount(ulong @value) {}
}
public static class MathShim {
public static byte Clamp(byte @value, byte min, byte max) {}
public static decimal Clamp(decimal @value, decimal min, decimal max) {}
public static double Clamp(double @value, double min, double max) {}
public static float Clamp(float @value, float min, float max) {}
public static int Clamp(int @value, int min, int max) {}
public static long Clamp(long @value, long min, long max) {}
public static sbyte Clamp(sbyte @value, sbyte min, sbyte max) {}
public static short Clamp(short @value, short min, short max) {}
public static uint Clamp(uint @value, uint min, uint max) {}
public static ulong Clamp(ulong @value, ulong min, ulong max) {}
public static ushort Clamp(ushort @value, ushort min, ushort max) {}
public static (byte Quotient, byte Remainder) DivRem(byte left, byte right) {}
public static (int Quotient, int Remainder) DivRem(int left, int right) {}
public static (long Quotient, long Remainder) DivRem(long left, long right) {}
public static (sbyte Quotient, sbyte Remainder) DivRem(sbyte left, sbyte right) {}
public static (short Quotient, short Remainder) DivRem(short left, short right) {}
public static (uint Quotient, uint Remainder) DivRem(uint left, uint right) {}
public static (ulong Quotient, ulong Remainder) DivRem(ulong left, ulong right) {}
public static (ushort Quotient, ushort Remainder) DivRem(ushort left, ushort right) {}
public static int DivRem(int a, int b, out int result) {}
public static long DivRem(long a, long b, out long result) {}
}
public static class StringShim {
public static bool EndsWith(this string str, char @value) {}
public static bool StartsWith(this string str, char @value) {}
}
}
namespace Smdn.IO {
public static class BinaryReaderExtensions {
public static void Close(this BinaryReader reader) {}
}
public static class BinaryWriterExtensions {
public static void Close(this BinaryWriter writer) {}
}
public static class TextReaderShim {
public static void Close(this TextReader reader) {}
}
public static class TextWriterExtensions {
public static void Close(this TextWriter writer) {}
}
}
namespace Smdn.Threading {
public static class ValueTaskShim {
public static ValueTask CompletedTask { get; }
public static ValueTask FromCanceled(CancellationToken cancellationToken) {}
public static ValueTask<TResult> FromCanceled<TResult>(CancellationToken cancellationToken) {}
public static ValueTask<TResult> FromResult<TResult>(TResult result) {}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
-
.NETFramework 4.5
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 1.6
- NETStandard.Library (>= 1.6.1)
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.1
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
-
net5.0
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
-
net6.0
- Smdn.Fundamental.Exception (>= 3.0.2 && < 4.0.0)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Smdn.Fundamental.Shim:
Package | Downloads |
---|---|
Smdn.Fundamental.Uuid
Smdn.Fundamental.Uuid.dll |
|
Smdn.Fundamental.UInt24n
Provides 24-bit and 48-bit unsigned integer types, `UInt24` and `UInt48`. These types are compatible with the generic math functionality since they implement the IUnsignedNumber<TSelf> and other generic math interfaces. |
|
Smdn
Smdn.dll, fundamental utility and extension library |
|
Smdn.Fundamental.Collection
Smdn.Fundamental.Collection.dll |
|
Smdn.Fundamental.FourCC
Smdn.Fundamental.FourCC.dll |
GitHub repositories
This package is not used by any popular GitHub repositories.