snowinmars.Extensions
1.0.4
dotnet add package snowinmars.Extensions --version 1.0.4
NuGet\Install-Package snowinmars.Extensions -Version 1.0.4
<PackageReference Include="snowinmars.Extensions" Version="1.0.4" />
<PackageVersion Include="snowinmars.Extensions" Version="1.0.4" />
<PackageReference Include="snowinmars.Extensions" />
paket add snowinmars.Extensions --version 1.0.4
#r "nuget: snowinmars.Extensions, 1.0.4"
#:package snowinmars.Extensions@1.0.4
#addin nuget:?package=snowinmars.Extensions&version=1.0.4
#tool nuget:?package=snowinmars.Extensions&version=1.0.4
Some extensions.
* EnumerableExtensions:
*IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random rng)
*SequenceEqualWithoutOrder<T>(this IEnumerable<T> source, IEnumerable<T> sequence)
* FastObjectAllocator
* GraphicsDeviceExtension
* Texture2D CreateTexture(this GraphicsDevice device, int width, int height, Color color, byte transperity = byte.MaxValue)
* Texture2D CreateTexture(this GraphicsDevice device, int width, int height, Color textureColor, int borderThick, Color borderColor)
* IComparableExtensions
* bool Between<T>(this T number, T bound1, T bound2)
* IListExtensions
* SetWithRandomElements<T>(this IList<T> array, T min, T max, int capacity, Func<T, T, T> funcToGetNewRandomElement)
* Singleton (use inside cctor)
* StringBuilderExtension
* void Trim(this StringBuilder sb, bool saveFirst, bool saveLast)
* StringExtensions
* string FirstLetterToUpper(this string str)
* bool IsComprisesOnlyLatinOrOnlyCyrillicSymbols(this string str, char[] canContains = null)
* bool IsComprisesWithLetters(this string str)
* bool IsFramedWith(this string str, string symbol)
* bool IsStartWithUpper(this string str)
* GraphicsDeviceExtensions
* Texture2D Generate(this GraphicsDevice device, int width, int height, Color color)
* Texture2D Generate(this GraphicsDevice device, int width, int height, Color textureColor, int borderThick, Color borderColor)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- MonoGame.Framework.DesktopGL (>= 3.5.1.1679)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|