AgileCoding.Library.Interfaces
2.0.6
dotnet add package AgileCoding.Library.Interfaces --version 2.0.6
NuGet\Install-Package AgileCoding.Library.Interfaces -Version 2.0.6
<PackageReference Include="AgileCoding.Library.Interfaces" Version="2.0.6" />
paket add AgileCoding.Library.Interfaces --version 2.0.6
#r "nuget: AgileCoding.Library.Interfaces, 2.0.6"
// Install AgileCoding.Library.Interfaces as a Cake Addin #addin nuget:?package=AgileCoding.Library.Interfaces&version=2.0.6 // Install AgileCoding.Library.Interfaces as a Cake Tool #tool nuget:?package=AgileCoding.Library.Interfaces&version=2.0.6
AgileCoding.Library.Interfaces NuGet Package
This package contains a set of standardized interfaces for use across various domains. It's ideal for creating standardized, modular, and easy-to-understand code.
Features
This package offers the following interfaces:
- ILogger - An interface for logging functionalities.
- IServiceProxy - An interface representing service proxies.
- IServiceRequest - An interface representing service requests.
- IServiceResponse - An interface representing service responses.
How to Use
To use these interfaces in your project, install the package and implement the interfaces as needed in your classes.
For example, to use the ILogger interface, you would do something like this:
using AgileCoding.Library.Interfaces.Logging;
using AgileCoding.Library.Enums.Logging;
using System;
using System.Collections.Generic;
public class MyLogger : ILogger
{
// Implement ILogger methods
public bool WriteCore(LogTypeEnum eventType, int eventId, object state, Exception exception, Func<object, Exception, string> formatter)
{
// Implementation details
}
public bool WriteCore(LogTypeEnum eventType, int eventId, object state, Exception exception, Dictionary<string, string> parameters, Func<object, Exception, string> formatter)
{
// Implementation details
}
public void Dispose()
{
// Cleanup
}
}
Installation
You can install this NuGet package through the following ways:
- Package Manager: "PM> Install-Package AgileCoding.Library.Interfaces -Version 2.0.5"
- .NET CLI: "dotnet add package AgileCoding.Library.Interfaces --version 2.0.5"
Requirements
.NET 6.0 or later
Contribute
This is an open source project. We encourage you to contribute to it by submitting issues, or directly contributing code.
License
This project is licensed under the terms of the MIT license.
Contact
For questions or any other feedback, please open an issue in the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- AgileCoding.Library.Enums (>= 2.0.5)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on AgileCoding.Library.Interfaces:
Package | Downloads |
---|---|
AgileCoding.Library.Loggers
Logger implementations based one the AgileCoding ILogger interface |
|
AgileCoding.Library.Interfaces.UserInterfaces.Console
List of interfaces for Console interface building |
|
AgileCoding.Extentions.Logger
Extentions to enhance logger beharvior |
|
AgileCoding.Extentions.Activator
Extentions to enhance Activator beharvior |
|
AgileCoding.Library.Types
Library to work with types |
GitHub repositories
This package is not used by any popular GitHub repositories.
moving to core