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
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="AgileCoding.Library.Interfaces" Version="2.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AgileCoding.Library.Interfaces --version 2.0.6
#r "nuget: AgileCoding.Library.Interfaces, 2.0.6"
#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.
// 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:

  1. ILogger - An interface for logging functionalities.
  2. IServiceProxy - An interface representing service proxies.
  3. IServiceRequest - An interface representing service requests.
  4. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
2.0.6 327 7/29/2023
2.0.5 140 7/29/2023
1.0.0.2 425 6/28/2021
1.0.0.1 350 5/24/2021

moving to core