Arebis.Core
8.0.3
See the version list below for details.
dotnet add package Arebis.Core --version 8.0.3
NuGet\Install-Package Arebis.Core -Version 8.0.3
<PackageReference Include="Arebis.Core" Version="8.0.3" />
<PackageVersion Include="Arebis.Core" Version="8.0.3" />
<PackageReference Include="Arebis.Core" />
paket add Arebis.Core --version 8.0.3
#r "nuget: Arebis.Core, 8.0.3"
#:package Arebis.Core@8.0.3
#addin nuget:?package=Arebis.Core&version=8.0.3
#tool nuget:?package=Arebis.Core&version=8.0.3
Arebis.Core
Common .NET Core extensions and extension methods.
Features
Root namespace
Current
The Current
class provides access to the current application context such as the current DateTime in a way that mocking is possible.
The class also provides a SoftRecycle
event that can be used to trigger a soft recycle of the application, which is useful in scenarios like web applications where you want to refresh the application state without a full restart.
LiveAssert
Assertion methods to ease validation in business methods.
ResultException
An exception that encapsulates a result to be returned on a higher level when unwinding the stack.
Selection
Represents a virtual selection of a collection, to which adding or removing items is reflected on the underlying collection.
Example:
var customers = new Selection<Contact>(contacts, c => c.IsCustomer);
customers.Add(new Contact { Name = "GeeBar", IsCustomer = true });
Extensions
ArrayExtensions
Extension methods for arrays.
BitArrayExtensions
Extension methods for BitArray
.
ByteArrayExtensions
Extension methods for byte arrays.
CollectionExtensions
Extension methods for collections.
DataOnlyExtensions
Extensions for DateOnly
.
DateTimeExtensions
Extensions for DateTime
.
DateTimeOffsetExtensions
Extensions for DateTimeOffset
.
DictionaryExtensions
Extensions for dictionaries.
EnumerableExtensions
Extensions for enumerables.
ExceptionExtensions
Extensions for exceptions.
FileSystemExtensions
Extensions for file system classes:
FileInfo.ToUniqueName()
returns a FileInfo with a unique name based on the original file name, ensuring that the file can be saved without overwriting existing files.
ListExtensions
Extensions for lists.
NumberExtensions
Extensions for number types.
ObjectExtensions
Extensions for objects.
PredicateExtensions
(to be completed)
Allows for easy predicate composition.
Example:
Expression<Func<Customer, bool>> predicate = i => false;
foreach (var filter in filters)
{
predicate = predicate.OrElse(filter);
}
QueueExtensions
Extensions for queues.
StreamExtensions
Extensions for streams.
StringExtensions
Extensions for strings.
TimeOnlyExtensions
Extensions for TimeOnly
.
TimeSpanExtensions
Extensions for TimeSpan
.
TypeExtensions
Extensions for types.
Factories
Factories to create DateTime mocks to work with the Current
class.
Globalizaton
CultureScope
A scope for culture settings that allows you to set a specific culture for the duration of a block of code, ensuring that culture-specific operations are consistent.
Example:
using (CultureScope.Create("en-US"))
{
// Code here will use the "en-US" culture settings
}
Numerics
Classes to work with numerics in different bases, such as binary, octal, decimal, and hexadecimal. But also base 51, 62, 64, 256 or any base really.
Also provides a RomanNumnber
class to work with Roman numerals, including conversion to and from integers.
Source
CodeSourceAttribute
Allows to annotate your code with a source attribute that can be used to track the origin of the code, such as a URL or a file path, track the author and/or copyright.
CodeToDo
Allows to annotate a section of code that needs to be implemented or completed.
HardcodedSection
Allows to annotate a section of code that is hardcoded and should not be changed, such as a specific value or a configuration setting.
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 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 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Arebis.Core:
Package | Downloads |
---|---|
Arebis.Core.EntityFramework
Package Description |
|
Arebis.Core.AspNet
Package Description |
|
Arebis.Core.Data
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
8.0.5 | 176 | 9/19/2025 |
8.0.4 | 258 | 9/16/2025 |
8.0.3 | 222 | 9/2/2025 |
8.0.2 | 132 | 8/1/2025 |
8.0.1 | 464 | 7/24/2025 |
8.0.0 | 782 | 11/4/2024 |
6.3.7 | 143 | 10/1/2024 |
6.3.6 | 161 | 9/6/2024 |
6.3.5 | 121 | 9/6/2024 |
6.3.4 | 93 | 8/3/2024 |
6.3.3 | 124 | 8/3/2024 |
6.3.2 | 136 | 6/14/2024 |
6.3.1 | 119 | 6/13/2024 |
6.3.0 | 180 | 4/15/2024 |
6.2.1 | 133 | 3/29/2024 |
6.2.0 | 222 | 3/15/2024 |
6.1.0 | 188 | 2/15/2024 |
6.0.1 | 138 | 2/13/2024 |
6.0.0 | 221 | 2/8/2024 |
1.0.1 | 258 | 12/20/2023 |
1.0.0 | 515 | 3/21/2023 |