SwiftCore 1.0.0
dotnet add package SwiftCore --version 1.0.0
NuGet\Install-Package SwiftCore -Version 1.0.0
<PackageReference Include="SwiftCore" Version="1.0.0" />
<PackageVersion Include="SwiftCore" Version="1.0.0" />
<PackageReference Include="SwiftCore" />
paket add SwiftCore --version 1.0.0
#r "nuget: SwiftCore, 1.0.0"
#:package SwiftCore@1.0.0
#addin nuget:?package=SwiftCore&version=1.0.0
#tool nuget:?package=SwiftCore&version=1.0.0
Swift.Core
Swift.Core is a .NET library that implements core functionalities for domain-driven design (DDD) and the result pattern. It provides abstractions and utilities to facilitate building robust and maintainable domain models.
Features
- Abstractions for domain-driven design
- Result pattern implementation
- Utilities for building domain models
Installation
To install Swift.Core, add the following package reference to your project file: <PackageReference Include="Swift.Core" Version="1.0.0" />
Alternatively, you can use the .NET CLI:
dotnet add package Swift.Core --version 1.0.0
Usage
Abstractions
The library provides interfaces for defining errors in your domain models:
namespace Swift.Core.Abstraction
{
public interface IError
{
string Code { get; }
string Message { get; }
}
public interface IError<out E>
{
E Error { get; }
}
}
| 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
- MediatR (>= 12.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 204 | 3/20/2025 |