Compze.Utilities.SystemCE
0.2.1-alpha
dotnet add package Compze.Utilities.SystemCE --version 0.2.1-alpha
NuGet\Install-Package Compze.Utilities.SystemCE -Version 0.2.1-alpha
<PackageReference Include="Compze.Utilities.SystemCE" Version="0.2.1-alpha" />
<PackageVersion Include="Compze.Utilities.SystemCE" Version="0.2.1-alpha" />
<PackageReference Include="Compze.Utilities.SystemCE" />
paket add Compze.Utilities.SystemCE --version 0.2.1-alpha
#r "nuget: Compze.Utilities.SystemCE, 0.2.1-alpha"
#:package Compze.Utilities.SystemCE@0.2.1-alpha
#addin nuget:?package=Compze.Utilities.SystemCE&version=0.2.1-alpha&prerelease
#tool nuget:?package=Compze.Utilities.SystemCE&version=0.2.1-alpha&prerelease
Compze.Utilities.SystemCE
Extensions and utilities for .NET System types in Compze.
What is Compze?
Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more
What's in this package?
A comprehensive set of extension methods and utility classes enhancing common .NET types — strings, collections, enums, reflection, IO, transactions, reactive, and LINQ.
Strings
- Ordinal-safe operations —
ContainsCE(),StartsWithCE(),ReplaceCE()(avoid culture-dependent defaults) Join(),Pluralize(),FormatInvariant()IsNullEmptyOrWhiteSpace(),RemoveLeadingNewLines(),RemoveLinesWhere()StringIndenter—IndentToDepth(),IndentTab(),JoinLines()
Collections and LINQ
ForEach(),WhereNotNull(),None(),ChopIntoSizesOf(),Flatten()ToReadOnlyList(), immutable-styleAddToCopy()/AddRangeToCopy()GetOrAdd(),RemoveWhere(),AddRange()FlattenHierarchy()for tree structuresCartesianProduct()generator- Int sequence generation —
1.Through(10),0.Until(5),0.By(2).Through(10)
Reflection
- Type inspection —
Implements<T>(),ClassInheritanceChain(),IsOpenGenericType() - Compiled constructor delegates —
Constructor.For<T>.DefaultConstructor - Dynamic type building via IL emit
Time and dates
- Fluent
TimeSpanfactory —500.Milliseconds(),2.Seconds(),1.Hours() TimeSpanaggregation —Min(),Max(),Sum(),Average()DateTime—ToUniversalTimeSafely(),ParseInvariant(),TimeElapsedSince()
Transactions
TransactionScopeCE.Execute()— simplified transaction scope usageVolatileLambdaTransactionParticipant— lambda-based commit/rollback hooksTransaction.OnCommittedSuccessfully()extension
Reactive
SimpleObservable<T>— thread-safeIObservable<T>implementation
Other utilities
Disposable/AsyncDisposable— action-based disposable implementationsLazyCE<T>— thread-safe lazy with reset capabilityRunOnce— atomic one-time execution guardScopedChange— temporary state change with IDisposable restoreEnumCE—IsValid(),AssertValid(),Values<TEnum>()CastCE—CastTo<T>()extensionUncatchableExceptionsGatherer— collects finalizer exceptions for later rethrowing
Installation
dotnet add package Compze.Utilities.SystemCE
Related packages
| Package | Description |
|---|---|
| Compze.Utilities.SystemCE.ThreadingCE | Threading and synchronization |
| Compze.Contracts | Design-by-contract assertions |
| Compze.Underscore | Functional programming primitives |
| Compze.Utilities | Core utilities |
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Compze.Contracts (>= 0.6.0)
- Compze.SystemCE.Internal (>= 0.2.1-alpha)
- Compze.Threading (>= 0.3.0-alpha)
- Compze.Threading.Internal (>= 0.3.0-alpha)
- Compze.Underscore (>= 0.5.0-beta)
NuGet packages (16)
Showing the top 5 NuGet packages that depend on Compze.Utilities.SystemCE:
| Package | Downloads |
|---|---|
|
Compze.Utilities.Testing.Must
Fluent assertion library for Compze testing. |
|
|
Compze.Utilities.Testing.XUnit
xUnit testing utilities and attributes for the Compze framework. |
|
|
Compze.Utilities.DependencyInjection
Package Description |
|
|
Compze.Utilities.Logging
Package Description |
|
|
Compze.Utilities.DependencyInjection.SimpleInjector
SimpleInjector dependency injection integration for the Compze framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.1-alpha | 52 | 3/4/2026 |
| 0.2.0-alpha.1 | 77 | 2/28/2026 |
| 0.1.0-alpha.3 | 276 | 2/13/2026 |