VOOZH about

URL: https://www.nuget.org/packages/eQuantic.Core/

โ‡ฑ NuGet Gallery | eQuantic.Core 1.8.4


๏ปฟ

๐Ÿ‘ Image
eQuantic.Core 1.8.4

dotnet add package eQuantic.Core --version 1.8.4
 
 
NuGet\Install-Package eQuantic.Core -Version 1.8.4
 
 
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="eQuantic.Core" Version="1.8.4" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="eQuantic.Core" Version="1.8.4" />
 
Directory.Packages.props
<PackageReference Include="eQuantic.Core" />
 
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 eQuantic.Core --version 1.8.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: eQuantic.Core, 1.8.4"
 
 
#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 eQuantic.Core@1.8.4
 
 
#: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=eQuantic.Core&version=1.8.4
 
Install as a Cake Addin
#tool nuget:?package=eQuantic.Core&version=1.8.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

eQuantic Core Library

๐Ÿ‘ NuGet
๐Ÿ‘ NuGet Downloads
๐Ÿ‘ License
๐Ÿ‘ .NET

eQuantic Core is a comprehensive .NET library that provides a rich set of utilities, extensions, and design pattern implementations to enhance your applications. This library serves as the foundation for the entire eQuantic ecosystem.

๐Ÿ“ฆ Packages

Package Description NuGet
eQuantic.Core Core utilities, extensions, collections ๐Ÿ‘ NuGet
eQuantic.Core.Eventing Base eventing abstractions (IEvent, IEventHandler, IEventDispatcher) ๐Ÿ‘ NuGet

๐Ÿš€ Features

๐Ÿ“ฆ Collections

  • PagedList<T>: Generic paged collection implementation
  • IPagedEnumerable: Interface for paged enumerations with metadata (PageIndex, PageSize, TotalCount)

๐Ÿงฉ Extensions

Comprehensive extension methods for common .NET types:

  • StringExtensions: Advanced string manipulation (LeftOf, RightOf, RemoveDiacritics, Slugify, etc.)
  • TaskExtensions: Async/await utilities and task management
  • TypeExtensions: Reflection helpers and type utilities
  • EnumerableExtensions: LINQ extensions and collection utilities
  • DateTimeExtensions: Date and time manipulation helpers
  • ExceptionExtensions: Exception handling utilities
  • GuidExtensions: GUID manipulation helpers
  • ListExtensions: List-specific extension methods
  • EnumExtensions: Enumeration utilities and helpers

๐Ÿ“… Date & Time Utilities

Advanced date and time manipulation tools:

  • TimeTool: Comprehensive time calculations and manipulations
  • TimeFormatter: Flexible time formatting utilities
  • DateDiff: Date difference calculations
  • SystemClock: Clock abstraction for testability
  • Time: Advanced time operations
  • TimeCompare: Time comparison utilities

๐Ÿ”’ Security

  • IEncrypting: Encryption interface with encoding capabilities
  • Encryptor: Default encryption implementation

๐Ÿ—๏ธ Design Patterns

  • IContainer: IoC container interface for dependency injection
  • ICaching: Caching interface with generic support

๐Ÿ› ๏ธ Utilities

  • ShortGuid: Base64-encoded GUID implementation for shorter string representations
  • RegNumberValidation: Registration number validation utilities
  • MethodExtractorVisitor: Expression tree method extraction

๐Ÿท๏ธ Attributes & Constants

  • LocalizedDescriptionAttribute: Localized description attribute for enums
  • StringConstants: Common string constants

๐Ÿ“ก Media Formatters

  • DateTimeConverterISO8601: ISO 8601 DateTime converter
  • HttpFile: HTTP file handling utilities

๐Ÿ“ฅ Installation

Install eQuantic.Core via NuGet Package Manager:

dotnet add package eQuantic.Core

Or via Package Manager Console:

Install-Package eQuantic.Core

๐ŸŽฏ Usage Examples

Collections - Paged Results

using eQuantic.Core.Collections;

// Create a paged list
var items = new List<string> { "item1", "item2", "item3" };
var pagedList = new PagedList<string>(items, totalCount: 100)
{
 PageIndex = 1,
 PageSize = 10
};

Console.WriteLine($"Page {pagedList.PageIndex} of {Math.Ceiling((double)pagedList.TotalCount / pagedList.PageSize)}");

String Extensions

using eQuantic.Core.Extensions;

string text = "Hello World";
string left = text.LeftOf(' '); // "Hello"
string right = text.RightOf(' '); // "World"

string withAccents = "Olรก, mรฃo!";
string slugified = withAccents.Slugify(); // "ola-mao"

string dirty = "Remove<script>alert('xss')</script>text";
string clean = dirty.UnHtml(); // "Removetext"

ShortGuid Usage

using eQuantic.Core;

// Generate a new short GUID (22 characters instead of 36)
ShortGuid shortId = ShortGuid.NewGuid();
Console.WriteLine(shortId.ToString()); // e.g., "FEx1sZbaCUifqz7VAp3j_g"

// Convert from regular GUID
Guid regularGuid = Guid.NewGuid();
ShortGuid fromGuid = new ShortGuid(regularGuid);

// Convert back to GUID
Guid converted = fromGuid.ToGuid();

Date & Time Utilities

using eQuantic.Core.Date;

// Advanced date operations
DateTime date = DateTime.Now;
DateTime startOfWeek = TimeTool.GetStartOfWeek(date, DayOfWeek.Monday);
DateTime dateOnly = TimeTool.GetDate(date);
DateTime withNewTime = TimeTool.SetTimeOfDay(date, 14, 30, 0); // 2:30 PM

// Date difference calculations
DateDiff diff = new DateDiff(DateTime.Now.AddDays(-30), DateTime.Now);
Console.WriteLine($"Difference: {diff.Days} days");

Type Extensions & Reflection

using eQuantic.Core.Extensions;

Type stringType = typeof(string);
bool isNullable = stringType.IsNullable(); // false

Type nullableInt = typeof(int?);
bool isNullableInt = nullableInt.IsNullable(); // true

// Get all types implementing an interface
var implementingTypes = typeof(IDisposable).GetImplementingTypes();

Caching Interface

using eQuantic.Core.Cache;

public class MyService
{
 private readonly ICaching _cache;

 public MyService(ICaching cache)
 {
 _cache = cache;
 }

 public async Task<string> GetDataAsync(string key)
 {
 if (!_cache.IsNull(key))
 {
 return _cache.Get<string>(key);
 }

 var data = await FetchDataFromSourceAsync(key);
 _cache.Add(data, key, timeout: 60); // Cache for 60 minutes
 return data;
 }
}

๐ŸŽฏ Target Frameworks

  • .NET Standard 2.1
  • .NET 6.0
  • .NET 8.0
  • .NET 10.0

๐Ÿค Contributing

We welcome contributions! Please feel free to submit pull requests or open issues to discuss potential improvements.

๐Ÿ“„ License

This project is licensed under the MIT License - see the file for details.

๐Ÿ”— Related Packages

eQuantic Core is part of the eQuantic ecosystem. Check out these related packages:

๐Ÿ“ž Support

For support, please visit our GitHub Issues page.


eQuantic Tech - Building the future, one component at a time.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.
  • net10.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on eQuantic.Core:

Package Downloads
eQuantic.Core.Data

eQuantic Core Data Class Library

eQuantic.Core.Data.EntityFramework

Core Data library for Entity Framework

eQuantic.Core.Domain

eQuantic Domain Library

eQuantic.Core.Api.Crud.Client

eQuantic Api CRUD Client Library

eQuantic.Core.Data.EntityFramework.SqlServer

Core Data library for Entity Framework and SQL Server

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.8.4 2,375 12/28/2025
1.8.3 122 12/28/2025
1.8.2 137 12/28/2025
1.8.1 748 12/27/2025
1.8.0 3,221 6/16/2025
1.7.1 229 6/15/2025
1.7.0 20,721 10/21/2023
1.6.0 8,796 8/27/2022
1.5.0.4 2,386 11/26/2020
1.5.0.3 752 11/8/2020
1.5.0.2 770 11/8/2020
1.5.0.1 2,102 6/7/2020
1.5.0 1,505 6/6/2020
1.4.10.4 1,042 9/19/2019
1.4.10.2 1,163 2/23/2019
1.4.10 7,528 1/10/2018
1.4.9.1 953 12/12/2018
1.4.9 5,029 10/2/2017
1.4.8 1,378 8/1/2017
1.4.7.1 2,223 7/19/2017
Loading failed

Customed solutions for log, security, dependency injections, ...