Info
Version: | 1.0.0.24 |
Author(s): | Bicycle.FExtensions |
Last Update: | Wednesday, December 12, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/ConstKosyanov/Bicycle.FExtensions |
NuGet Url: | https://www.nuget.org/packages/Bicycle.FExtensions |
Install
Install-Package Bicycle.FExtensions
dotnet add package Bicycle.FExtensions
paket add Bicycle.FExtensions
Bicycle.FExtensions Download (Unzip the "nupkg" after downloading)
History:
1.0.0.24 - Added Distinct(selector) method, wich is just shortcut for ".Select(selector).Distinct()"
1.0.0.23 - Method "SimpleJoin" became Obsolete, use "Filter" insteadd
1.0.0.22 - Added GetOrDefault method for IReadOnlyDictionary
Renamed SetIfEmpty -> DefaultIfEmty
Added new method SetIfEmty<> witch returns another collection if the source is empty;
Added override of DoIf with Action<> argument instead Func<>
Added IfNotNull method, wich executes function only if this object is not null, else returns default value
Added DoIf method, which executes action if condition is true, esle returns original object
Fixed Left method for string with 0 length
Added If method with few overloads and also IfNotNull also
Target frameworks(Core2 & NetF) changed to Standard2
Added string extension method "Left" that allows safety get subsrting from 0 char to length.
Added SimpleJoin method which allows to filter collection by collection of keys.
Added (Single/Where)With(Min/Max) method
Added XML annotation for methods;
Added TryGetSingle method;
Added overloaded method "Do" that takes function as parameter but returns the same original object after function call, not the funcion result.
Method Do renamed to Make.
Added overloaded method "Do", which can return different types.