Davasorus.Utility.Dotnet.Contracts.Collections 2026.2.2.1

dotnet add package Davasorus.Utility.Dotnet.Contracts.Collections --version 2026.2.2.1
                    
NuGet\Install-Package Davasorus.Utility.Dotnet.Contracts.Collections -Version 2026.2.2.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="Davasorus.Utility.Dotnet.Contracts.Collections" Version="2026.2.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Davasorus.Utility.Dotnet.Contracts.Collections" Version="2026.2.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Davasorus.Utility.Dotnet.Contracts.Collections" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Davasorus.Utility.Dotnet.Contracts.Collections --version 2026.2.2.1
                    
#r "nuget: Davasorus.Utility.Dotnet.Contracts.Collections, 2026.2.2.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.
#:package Davasorus.Utility.Dotnet.Contracts.Collections@2026.2.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Davasorus.Utility.Dotnet.Contracts.Collections&version=2026.2.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Davasorus.Utility.Dotnet.Contracts.Collections&version=2026.2.2.1
                    
Install as a Cake Tool

Davasorus.Utility.Contracts.Collections

This package provides a set of reusable collection wrappers and helpers for .NET applications. Each class exposes a static ObservableCollection<T> (or ConcurrentDictionary) for common data types used in desktop and service applications, enabling easy data binding, state management, and collection manipulation.

Features

  • Strongly-typed, reusable collection wrappers for common models (e.g., logs, backup objects, error reports)
  • Static access to shared collection instances
  • Designed for use in desktop, service, and utility applications
  • Most classes implement IDisposable for safe cleanup of collection state

Requirements

  • .NET 8.0 or later
  • Reference to Davasorus.Utility.Contracts.Types for model types

Example Usage

Accessing a Shared Collection

using Davasorus.Utility.DotNet.Contracts.Collections;

// Access the shared collection of API history objects
var apiHistory = ApiHistoryObjs.Collection;
apiHistory.Add(new ApiHistoryObj { /* ... set properties ... */ });

// Bind to a WPF DataGrid, for example
myDataGrid.ItemsSource = apiHistory;

Clearing a Collection Safely

using Davasorus.Utility.DotNet.Contracts.Collections;

using (var logs = new RestoreLogsObjs())
{
    // ... work with logs ...
    logs.Dispose(); // This will clear the collection
}

Example: Service Object Collection

using Davasorus.Utility.DotNet.Contracts.Collections;

// Add a new service object
ServiceObjs.Collection.Add(new ServiceObj { /* ... */ });

// Enumerate all service objects
foreach (var svc in ServiceObjs.Collection)
{
    Console.WriteLine(svc.Name);
}

Class Reference

Class Name Collection Property Model Type Description
ApiHistoryObjs Collection ObservableCollection<ApiHistoryObj> API history records
ChildAgencyObjs Collection ObservableCollection<ChildAgencyObj> Child agency objects
CurrentBackUpObjs Collection ObservableCollection<CurrentBackUpObj> Current backup objects
DeploymentLoggingObjs Collection ObservableCollection<LoggingObj> Deployment logging entries
EzLoggingObjs Collection ObservableCollection<EzLoggingObj> EZ logging objects
FileStorageObjs Collection ObservableCollection<FileStorageObj> File storage objects
GenericModalQues Collection ObservableCollection<SnackBarQueObj> Generic modal queue entries
LogObjs Collection ObservableCollection<LoggingObj> General logging objects
OldBackUpObjs Collection ObservableCollection<OldBackUpObj> Old backup objects
OriFdidMoverObjs Collection ObservableCollection<LoggingObj> ORI/FDID mover logs
OriListViewObjs Collection ObservableCollection<OriListViewObj> ORI list view objects
ProcessStatusObjs Collection ObservableCollection<ProcessStatusObj> Process status objects
RestoreLogs Collection ObservableCollection<LoggingObj> Restore log entries
RestoreLogsObjs Collection ObservableCollection<RestoreLogObj> Restore log objects
ServerObjs Collection ObservableCollection<ServerObj> Server objects
ServiceObjs Collection ObservableCollection<ServiceObj> Service objects
SnackbarQues Collection ObservableCollection<SnackBarQueObj> Snackbar queue entries
SqlLoggingObjs Collection ObservableCollection<SqlLoggingObj> SQL logging objects
SqlScriptObjs Collection ObservableCollection<SqlScriptObj> SQL script objects
SqsMessageHistoryObjs Collection ObservableCollection<SqsMessageHistory> SQS message history records
StreamLinedProcessObjs Collection ObservableCollection<LoggingObj> Streamlined process logs
TrelloErrorDisplayObjs Collection ObservableCollection<TrelloErrorDisplayObj> Trello error display objects
TrelloErrorReportingObjs Collection ConcurrentDictionary<string, TrelloErrorReportingObj> Trello error reporting (static class)
UtilityProgressObjs ProgressCollection ObservableCollection<UtilityProgressObj> Utility progress objects

All classes except TrelloErrorReportingObjs implement IDisposable for safe cleanup. TrelloErrorReportingObjs is a static class using a ConcurrentDictionary instead of ObservableCollection.

License

MIT License

Product 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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Davasorus.Utility.Dotnet.Contracts.Collections:

Package Downloads
Davasorus.Utility.DotNet.SQS

Amazon SQS interaction for TEPS Utilities

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.2.2.1 2,124 5/1/2026
2026.2.1.5 830 4/22/2026
2026.2.1.4 4,498 4/9/2026
2026.2.1.3 111 4/9/2026
2026.2.1.2 101 4/9/2026
2026.2.1.1 1,424 4/1/2026
2026.1.3.2 804 3/29/2026
2026.1.3.1 2,447 3/12/2026
2026.1.2.1 3,497 2/7/2026
2026.1.1.1 2,366 1/14/2026
2025.4.3.4 3,199 12/16/2025
2025.4.3.3 624 12/15/2025
2025.4.3.2 454 12/15/2025
2025.4.3.1 884 12/5/2025
2025.4.2.6 1,378 11/29/2025
2025.4.2.5 884 11/24/2025
2025.4.2.4 239 11/23/2025
2025.4.2.3 2,335 11/14/2025
2025.4.2.2 1,886 11/5/2025
2025.4.2.1 337 11/4/2025
Loading failed