Open.Interfaces 1.0.9

dotnet add package Open.Interfaces --version 1.0.9
                    
NuGet\Install-Package Open.Interfaces -Version 1.0.9
                    
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="Open.Interfaces" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Open.Interfaces" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Open.Interfaces" />
                    
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 Open.Interfaces --version 1.0.9
                    
#r "nuget: Open.Interfaces, 1.0.9"
                    
#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 Open.Interfaces@1.0.9
                    
#: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=Open.Interfaces&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=Open.Interfaces&version=1.0.9
                    
Install as a Cake Tool

Open Interfaces

Open Interfaces is a lightweight .NET library that defines a set of commonly used service interfaces ( e.g., ILogService, IMessageService, etc.). The library has minimal dependencies, relying only on .NET system libraries, and is designed to be integrated into various .NET projects as a foundational library.

Features

  • Lightweight: Only depends on .NET system libraries; no third-party dependencies.
  • Generic: Defines a set of commonly used service interfaces suitable for various scenarios.
  • Extensible: All interfaces can be implemented and extended as needed.

Installation

Install via NuGet:

dotnet add package Open.Interfaces

Alternatively, search for Open.Interfaces in the NuGet Package Manager in Visual Studio and install it.

Included Interfaces

Here are the main interfaces defined in the library:

ILogService

A generic interface for logging.

public interface ILogService
{
    void Debug(string message);
    void Info(string message);
    void Warn(string message);
    void Error(string message);
    void Fatal(string message);
    void Exception(Exception exception);
}

IMessageService

A generic interface for sending messages.

public interface IMessageService
{   
    void Send(object message);
    void Subscribe(Action<object,bool> handler);
}

Contributing

License

This project is licensed under the MIT License.

Contact

For any questions or suggestions, please open an issue on GitHub Issues or email opencoder@126.com.


Thank you for your interest and support! 🚀

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Open.Interfaces:

Package Downloads
Open.Infra

Package Description

Open.Service

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9 131 8/24/2026
1.0.8 126 8/24/2026
1.0.7 340 3/18/2025
1.0.6 304 3/12/2025
1.0.5 218 2/27/2025
1.0.4 167 2/21/2025
1.0.3 166 2/20/2025
1.0.2 359 2/9/2025
1.0.1 160 2/8/2025
1.0.0 174 2/7/2025