BigBook 6.0.3
dotnet add package BigBook --version 6.0.3
NuGet\Install-Package BigBook -Version 6.0.3
<PackageReference Include="BigBook" Version="6.0.3" />
paket add BigBook --version 6.0.3
#r "nuget: BigBook, 6.0.3"
// Install BigBook as a Cake Addin #addin nuget:?package=BigBook&version=6.0.3 // Install BigBook as a Cake Tool #tool nuget:?package=BigBook&version=6.0.3
Big Book of Data Types
Big Book of Data Types is a set of classes and extension methods to help with data. This includes classes for caching, data comparison, data conversion, data mapping, string formatting, as well as various data types that are missing from .Net.
Setting Up the Library
Depending on the features you use in Big Book of Data Types, you may need to register it with your ServiceCollection as the Dynamo class requires it in order to hook itself up. In order for this to work, you must do the following at startup:
services.RegisterBigBookOfDataTypes();
or
services.AddCanisterModules();
As the library supports Canister Modules. The RegisterBigBookOfDataTypes function is an extension method on your app's ServiceCollection. When this is done, the Dynamo class is ready to use. If you are not using that class, you should be able to go without registration.
Basic usage
Most of the library is simply data types that can be used fairly easily. These include:
- Bag
- BinaryTree
- DateSpan
- Fraction
- ListMapping
- Matrix
- ObservableList
- PriorityQueue
- RingBuffer
- Set
- Table
- TagDictionary
- TaskQueue
- Vector3
Similarly the extension methods for various types can be found by adding:
using BigBook;
To your list of usings. From there a number of extension methods should be available for arrays, IEnumerable, string, ConcurrentBag, ConcurrentDictionary, DateTime, Exception, ICollection, IComparable, IDictionary, MatchCollection, Process, Stream, TimeSpan, etc. There are a couple hundred extension methods and I suggest you just take a look at them to see what they do. Another portion of the library that might be of some interest and yet not completely intuitive is the Dynamo class.
Dynamo is a true dynamic type for .Net. ExpandoObject is generally great for basic work that requires a dynamic, however it is not easy to convert to other data types. For instance you can't do this:
dynamic MyDynamicValue=new ExpandoObject();
SomeClass FinalObject=MyDynamicValue;
Dynamo, on the other hand, has no issues with this:
dynamic MyDynamicValue=new Dynamo();
SomeClass FinalObject=MyDynamicValue;
The class handles conversion to and from class types, can convert properties from one type to another, and comes with a set of built in functionality. The class implements INotifyPropertyChanged, has a built in change log, and is thread safe. It can also be added as a base class for other classes to add this functionality automatically.
Installation
The library is available via Nuget with the package name "BigBook". To install it run the following command in the Package Manager Console:
Install-Package BigBook
Build Process
In order to build the library you will require the following:
- Visual Studio 2022
Other than that, just clone the project and you should be able to load the solution and build without too much effort.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 is compatible. |
-
net8.0
- Aspectus (>= 6.0.5)
- Microsoft.Extensions.ObjectPool (>= 9.0.0)
- ObjectCartographer.SQL (>= 4.0.2)
- System.Collections.NonGeneric (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Data.Common (>= 4.3.0)
- System.Data.SqlClient (>= 4.9.0)
- System.Diagnostics.Process (>= 4.3.0)
- System.Diagnostics.StackTrace (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.7.0)
- System.Runtime (>= 4.3.1)
- System.Threading.Tasks.Parallel (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
-
net9.0
- Aspectus (>= 6.0.5)
- Microsoft.Extensions.ObjectPool (>= 9.0.0)
- ObjectCartographer.SQL (>= 4.0.2)
- System.Collections.NonGeneric (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Data.Common (>= 4.3.0)
- System.Data.SqlClient (>= 4.9.0)
- System.Diagnostics.Process (>= 4.3.0)
- System.Diagnostics.StackTrace (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.7.0)
- System.Runtime (>= 4.3.1)
- System.Threading.Tasks.Parallel (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on BigBook:
Package | Downloads |
---|---|
FileCurator
FileCurator is a simple manager for your files. It tries to give them a common interface to deal with files whether on your system or other locations. |
|
SQLHelper.DB
SQLHelper is a simple class to help with databases. |
|
Mirage
Mirage is an open source library for .Net designed to create random data for POCOs, unit tests, etc. Supports .Net Core as well as full .Net. |
|
Valkyrie
Valkyrie is a simple validation library that adds a number of DataAnnotations. |
|
FileCurator.Windows
FileCurator.Windows is a set of formats that are only available using the full version of the .Net framework. If an alternative is built in .Net Standard these will be replaced. So consider this a hold over. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.3 | 981 | 12/9/2024 |
6.0.2 | 233 | 12/6/2024 |
6.0.1 | 2,015 | 11/24/2024 |
6.0.0 | 808 | 11/18/2024 |
5.1.63 | 1,352 | 11/12/2024 |
5.1.62 | 970 | 11/11/2024 |
5.1.61 | 1,365 | 11/5/2024 |
5.1.60 | 679 | 11/4/2024 |
5.1.59 | 1,153 | 10/30/2024 |
5.1.58 | 672 | 10/29/2024 |
5.1.57 | 90 | 10/29/2024 |
5.1.56 | 1,129 | 10/15/2024 |
5.1.55 | 2,125 | 10/10/2024 |
5.1.54 | 694 | 10/9/2024 |
5.1.53 | 8,788 | 8/28/2024 |
5.1.52 | 1,110 | 8/26/2024 |
5.1.51 | 1,018 | 8/23/2024 |
5.1.50 | 1,242 | 8/21/2024 |
5.1.49 | 1,532 | 8/19/2024 |
5.1.48 | 1,751 | 8/14/2024 |
5.1.47 | 1,421 | 8/2/2024 |
5.1.46 | 1,714 | 7/24/2024 |
5.1.45 | 1,501 | 7/10/2024 |
5.1.44 | 2,784 | 6/26/2024 |
5.1.43 | 30,452 | 6/25/2024 |
5.1.42 | 2,714 | 6/18/2024 |
5.1.41 | 999 | 6/17/2024 |
5.1.40 | 1,159 | 6/13/2024 |
5.1.39 | 821 | 6/12/2024 |
5.1.38 | 539 | 6/12/2024 |
5.1.37 | 1,917 | 5/30/2024 |
5.1.36 | 1,280 | 5/29/2024 |
5.1.35 | 2,496 | 5/16/2024 |
5.1.34 | 843 | 5/15/2024 |
5.1.33 | 1,587 | 5/7/2024 |
5.1.32 | 1,004 | 5/6/2024 |
5.1.31 | 1,365 | 5/2/2024 |
5.1.30 | 1,493 | 5/1/2024 |
5.1.29 | 715 | 4/30/2024 |
5.1.28 | 1,121 | 4/29/2024 |
5.1.27 | 2,575 | 4/11/2024 |
5.1.26 | 943 | 4/10/2024 |
5.1.25 | 1,945 | 3/29/2024 |
5.1.24 | 1,139 | 3/28/2024 |
5.1.23 | 2,299 | 3/15/2024 |
5.1.22 | 801 | 3/14/2024 |
5.1.21 | 852 | 3/13/2024 |
5.1.20 | 1,244 | 3/8/2024 |
5.1.19 | 736 | 3/7/2024 |
5.1.18 | 433 | 3/6/2024 |
5.1.17 | 355 | 3/5/2024 |
5.1.16 | 158 | 3/4/2024 |
5.1.15 | 3,192 | 2/28/2024 |
5.1.14 | 1,906 | 2/27/2024 |
5.1.13 | 1,119 | 2/23/2024 |
5.1.12 | 595 | 2/22/2024 |
5.1.11 | 519 | 2/21/2024 |
5.1.10 | 756 | 2/20/2024 |
5.1.9 | 1,501 | 2/14/2024 |
5.1.8 | 781 | 2/9/2024 |
5.1.7 | 738 | 2/7/2024 |
5.1.6 | 420 | 2/6/2024 |
5.1.5 | 2,454 | 2/5/2024 |
5.1.4 | 5,681 | 1/31/2024 |
5.1.3 | 407 | 1/30/2024 |
5.1.2 | 2,690 | 1/23/2024 |
5.1.1 | 973 | 1/22/2024 |
5.1.0 | 2,432 | 1/10/2024 |
5.0.39 | 5,151 | 12/13/2023 |
5.0.38 | 669 | 12/12/2023 |
5.0.37 | 3,455 | 11/23/2023 |
5.0.36 | 1,065 | 11/20/2023 |
5.0.35 | 1,197 | 11/17/2023 |
5.0.34 | 1,053 | 11/16/2023 |
5.0.33 | 2,310 | 11/7/2023 |
5.0.32 | 860 | 11/6/2023 |
5.0.31 | 1,639 | 10/31/2023 |
5.0.30 | 824 | 10/30/2023 |
5.0.29 | 1,382 | 10/25/2023 |
5.0.28 | 1,567 | 10/11/2023 |
5.0.27 | 1,508 | 9/25/2023 |
5.0.26 | 1,157 | 9/19/2023 |
5.0.25 | 726 | 9/18/2023 |
5.0.24 | 1,381 | 9/13/2023 |
5.0.23 | 796 | 9/12/2023 |
5.0.22 | 604 | 9/11/2023 |
5.0.21 | 779 | 9/11/2023 |
5.0.20 | 1,492 | 9/6/2023 |
5.0.19 | 912 | 9/5/2023 |
5.0.18 | 866 | 9/4/2023 |
5.0.17 | 1,022 | 9/1/2023 |
5.0.16 | 999 | 8/31/2023 |
5.0.15 | 748 | 8/30/2023 |
5.0.14 | 1,135 | 8/29/2023 |
5.0.13 | 1,006 | 8/28/2023 |
5.0.12 | 1,807 | 8/22/2023 |
5.0.11 | 1,192 | 8/17/2023 |
5.0.10 | 2,773 | 8/8/2023 |
5.0.9 | 841 | 8/8/2023 |
5.0.8 | 978 | 8/7/2023 |
5.0.7 | 2,458 | 7/25/2023 |
5.0.6 | 2,010 | 7/13/2023 |
5.0.5 | 362 | 7/13/2023 |
5.0.4 | 406 | 7/11/2023 |
5.0.2 | 2,249 | 12/13/2022 |
5.0.0 | 3,489 | 12/12/2022 |
4.0.26 | 437 | 12/8/2022 |
4.0.23 | 391 | 12/6/2022 |
4.0.22 | 768 | 10/26/2022 |
4.0.19 | 1,116 | 8/2/2022 |
4.0.18 | 7,710 | 6/6/2022 |
4.0.16 | 10,371 | 1/11/2022 |
4.0.15 | 2,781 | 12/16/2021 |
4.0.13 | 902 | 8/25/2021 |
4.0.12 | 5,200 | 6/17/2021 |
4.0.8 | 2,004 | 6/16/2021 |
4.0.7 | 1,385 | 6/16/2021 |
4.0.6 | 1,226 | 6/16/2021 |
4.0.5 | 1,563 | 6/15/2021 |
3.0.63 | 774 | 5/21/2021 |
3.0.59 | 903 | 4/30/2021 |
3.0.58 | 2,685 | 3/25/2021 |
3.0.57 | 741 | 1/14/2021 |
3.0.56 | 8,761 | 1/6/2021 |
3.0.55 | 5,706 | 1/6/2021 |
3.0.54 | 572 | 12/23/2020 |
3.0.53 | 1,579 | 12/16/2020 |
3.0.52 | 841 | 12/16/2020 |
3.0.51 | 1,453 | 12/14/2020 |
3.0.50 | 578 | 12/2/2020 |
3.0.49 | 574 | 12/2/2020 |
3.0.48 | 1,080 | 12/2/2020 |
3.0.47 | 5,201 | 9/13/2020 |
3.0.46 | 2,017 | 9/13/2020 |
3.0.45 | 617 | 9/11/2020 |
3.0.44 | 626 | 9/11/2020 |
3.0.43 | 1,227 | 8/21/2020 |
3.0.42 | 4,443 | 5/12/2020 |
3.0.41 | 1,983 | 5/12/2020 |
3.0.40 | 662 | 5/12/2020 |
3.0.39 | 2,193 | 5/12/2020 |
3.0.37 | 3,910 | 4/27/2020 |
3.0.36 | 3,449 | 4/16/2020 |
3.0.35 | 1,683 | 4/15/2020 |
3.0.34 | 1,369 | 4/15/2020 |
3.0.33 | 1,595 | 4/15/2020 |
3.0.32 | 3,771 | 4/10/2020 |
3.0.31 | 2,185 | 4/10/2020 |
3.0.30 | 654 | 4/10/2020 |
3.0.29 | 674 | 4/10/2020 |
3.0.28 | 687 | 4/10/2020 |
3.0.27 | 750 | 4/9/2020 |
3.0.26 | 667 | 4/9/2020 |
3.0.25 | 659 | 4/7/2020 |
3.0.23 | 663 | 4/7/2020 |
3.0.22 | 4,203 | 3/26/2020 |
3.0.21 | 1,742 | 3/26/2020 |
3.0.20 | 734 | 3/26/2020 |
3.0.19 | 1,902 | 3/25/2020 |
3.0.18 | 1,399 | 3/25/2020 |
3.0.17 | 4,531 | 3/25/2020 |
3.0.16 | 1,900 | 3/25/2020 |
3.0.15 | 1,966 | 3/24/2020 |
3.0.14 | 692 | 3/24/2020 |
3.0.13 | 637 | 3/23/2020 |
3.0.12 | 5,174 | 3/6/2020 |
3.0.11 | 703 | 3/3/2020 |
3.0.10 | 1,195 | 3/1/2020 |
3.0.9 | 2,175 | 3/1/2020 |
3.0.8 | 728 | 3/1/2020 |
3.0.7 | 3,949 | 2/17/2020 |
3.0.6 | 721 | 2/17/2020 |
3.0.5 | 2,197 | 2/10/2020 |
3.0.4 | 1,858 | 1/8/2020 |
3.0.3 | 784 | 1/7/2020 |
3.0.2 | 715 | 1/7/2020 |
3.0.1 | 2,024 | 12/29/2019 |
3.0.0 | 3,149 | 12/23/2019 |
2.1.14 | 1,610 | 11/3/2019 |
2.1.13 | 3,397 | 4/17/2019 |
2.1.12 | 2,607 | 4/17/2019 |
2.1.11 | 771 | 4/16/2019 |
2.1.10 | 1,790 | 3/15/2019 |
2.1.9 | 1,629 | 3/14/2019 |
2.1.8 | 764 | 3/8/2019 |
2.1.7 | 6,161 | 2/21/2019 |
2.1.6 | 1,635 | 11/1/2018 |
2.1.5 | 1,512 | 10/5/2018 |
2.1.4 | 6,939 | 7/5/2018 |
2.1.3 | 3,643 | 6/14/2018 |
2.1.2 | 9,708 | 5/31/2018 |
2.1.1 | 1,182 | 5/31/2018 |
2.1.0 | 1,162 | 5/31/2018 |
2.0.7 | 1,129 | 5/24/2018 |
2.0.6 | 3,615 | 5/22/2018 |
2.0.5 | 1,176 | 5/18/2018 |
2.0.4 | 5,446 | 2/15/2018 |
2.0.3 | 1,841 | 2/2/2018 |
2.0.2 | 1,677 | 2/2/2018 |
2.0.0 | 6,259 | 1/2/2018 |
1.0.38 | 1,620 | 12/15/2017 |
1.0.37 | 1,136 | 12/12/2017 |
1.0.36 | 2,099 | 11/21/2017 |
1.0.35 | 2,459 | 11/17/2017 |
1.0.34 | 4,167 | 11/13/2017 |
1.0.33 | 5,461 | 10/19/2017 |
1.0.32 | 4,672 | 10/2/2017 |
1.0.31 | 1,127 | 10/2/2017 |
1.0.30 | 8,076 | 9/28/2017 |
1.0.29 | 1,174 | 9/28/2017 |
1.0.28 | 1,627 | 9/27/2017 |
1.0.27 | 1,135 | 9/27/2017 |
1.0.26 | 1,640 | 9/26/2017 |
1.0.25 | 2,439 | 9/22/2017 |
1.0.24 | 3,898 | 9/13/2017 |
1.0.23 | 6,126 | 8/8/2017 |
1.0.22 | 3,574 | 6/27/2017 |
1.0.21 | 2,457 | 6/16/2017 |
1.0.20 | 2,105 | 6/7/2017 |
1.0.19 | 1,172 | 6/7/2017 |
1.0.18 | 1,169 | 6/1/2017 |
1.0.15 | 1,186 | 5/31/2017 |
1.0.14 | 5,671 | 5/17/2017 |
1.0.13 | 1,732 | 5/11/2017 |
1.0.12 | 1,195 | 5/11/2017 |
1.0.11 | 1,259 | 5/1/2017 |
1.0.10 | 1,174 | 4/14/2017 |
1.0.9 | 3,309 | 3/22/2017 |
1.0.8 | 1,238 | 2/16/2017 |
1.0.7 | 4,077 | 1/24/2017 |
1.0.6 | 1,213 | 1/24/2017 |
1.0.5 | 2,701 | 1/3/2017 |
1.0.4 | 1,629 | 12/9/2016 |
1.0.3 | 1,459 | 11/28/2016 |
1.0.2 | 1,185 | 11/28/2016 |