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 | 1,304 | 12/9/2024 |
6.0.2 | 236 | 12/6/2024 |
6.0.1 | 2,117 | 11/24/2024 |
6.0.0 | 870 | 11/18/2024 |
5.1.63 | 1,362 | 11/12/2024 |
5.1.62 | 970 | 11/11/2024 |
5.1.61 | 1,365 | 11/5/2024 |
5.1.60 | 681 | 11/4/2024 |
5.1.59 | 1,155 | 10/30/2024 |
5.1.58 | 672 | 10/29/2024 |
5.1.57 | 90 | 10/29/2024 |
5.1.56 | 1,131 | 10/15/2024 |
5.1.55 | 2,125 | 10/10/2024 |
5.1.54 | 694 | 10/9/2024 |
5.1.53 | 8,798 | 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,422 | 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 | 1,001 | 6/17/2024 |
5.1.40 | 1,159 | 6/13/2024 |
5.1.39 | 823 | 6/12/2024 |
5.1.38 | 548 | 6/12/2024 |
5.1.37 | 1,926 | 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,577 | 4/11/2024 |
5.1.26 | 945 | 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 | 975 | 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,199 | 11/17/2023 |
5.0.34 | 1,055 | 11/16/2023 |
5.0.33 | 2,312 | 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,775 | 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 | 393 | 12/6/2022 |
4.0.22 | 768 | 10/26/2022 |
4.0.19 | 1,116 | 8/2/2022 |
4.0.18 | 7,712 | 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,387 | 6/16/2021 |
4.0.6 | 1,226 | 6/16/2021 |
4.0.5 | 1,565 | 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,445 | 5/12/2020 |
3.0.41 | 1,985 | 5/12/2020 |
3.0.40 | 664 | 5/12/2020 |
3.0.39 | 2,195 | 5/12/2020 |
3.0.37 | 3,914 | 4/27/2020 |
3.0.36 | 3,451 | 4/16/2020 |
3.0.35 | 1,685 | 4/15/2020 |
3.0.34 | 1,371 | 4/15/2020 |
3.0.33 | 1,597 | 4/15/2020 |
3.0.32 | 3,775 | 4/10/2020 |
3.0.31 | 2,187 | 4/10/2020 |
3.0.30 | 656 | 4/10/2020 |
3.0.29 | 676 | 4/10/2020 |
3.0.28 | 689 | 4/10/2020 |
3.0.27 | 752 | 4/9/2020 |
3.0.26 | 669 | 4/9/2020 |
3.0.25 | 661 | 4/7/2020 |
3.0.23 | 667 | 4/7/2020 |
3.0.22 | 4,205 | 3/26/2020 |
3.0.21 | 1,746 | 3/26/2020 |
3.0.20 | 736 | 3/26/2020 |
3.0.19 | 1,904 | 3/25/2020 |
3.0.18 | 1,401 | 3/25/2020 |
3.0.17 | 4,533 | 3/25/2020 |
3.0.16 | 1,902 | 3/25/2020 |
3.0.15 | 1,968 | 3/24/2020 |
3.0.14 | 694 | 3/24/2020 |
3.0.13 | 639 | 3/23/2020 |
3.0.12 | 5,178 | 3/6/2020 |
3.0.11 | 705 | 3/3/2020 |
3.0.10 | 1,197 | 3/1/2020 |
3.0.9 | 2,177 | 3/1/2020 |
3.0.8 | 732 | 3/1/2020 |
3.0.7 | 3,951 | 2/17/2020 |
3.0.6 | 725 | 2/17/2020 |
3.0.5 | 2,199 | 2/10/2020 |
3.0.4 | 1,860 | 1/8/2020 |
3.0.3 | 786 | 1/7/2020 |
3.0.2 | 717 | 1/7/2020 |
3.0.1 | 2,026 | 12/29/2019 |
3.0.0 | 3,151 | 12/23/2019 |
2.1.14 | 1,612 | 11/3/2019 |
2.1.13 | 3,409 | 4/17/2019 |
2.1.12 | 2,609 | 4/17/2019 |
2.1.11 | 773 | 4/16/2019 |
2.1.10 | 1,792 | 3/15/2019 |
2.1.9 | 1,632 | 3/14/2019 |
2.1.8 | 767 | 3/8/2019 |
2.1.7 | 6,163 | 2/21/2019 |
2.1.6 | 1,636 | 11/1/2018 |
2.1.5 | 1,515 | 10/5/2018 |
2.1.4 | 6,941 | 7/5/2018 |
2.1.3 | 3,645 | 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,131 | 5/24/2018 |
2.0.6 | 3,617 | 5/22/2018 |
2.0.5 | 1,178 | 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,130 | 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 |