VersaTul.Contracts 1.0.9

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package VersaTul.Contracts --version 1.0.9                
NuGet\Install-Package VersaTul.Contracts -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="VersaTul.Contracts" Version="1.0.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VersaTul.Contracts --version 1.0.9                
#r "nuget: VersaTul.Contracts, 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.
// Install VersaTul.Contracts as a Cake Addin
#addin nuget:?package=VersaTul.Contracts&version=1.0.9

// Install VersaTul.Contracts as a Cake Tool
#tool nuget:?package=VersaTul.Contracts&version=1.0.9                

VersaTul Contracts

VersaTul Contracts is a project that provides generic interfaces that are supported throughout the VersaTul ecosystem. Developers who may want to change the underlying implementation of these contracts can create their own implementation of such contract and supply it to the VersaTul project in which they require to change the behavior.

IPredicate<T>

IPredicate<T> is an interface that represents an expression that can be applied to the type of T.

Properties

  • Expression<Func<T, bool>> Condition : Property to get or set an expression for filtering with Func of T.

Example

Here is an example implementation of IPredicate<T> as found in VersaTul.Data.MongoDB.Predicates.

public class MongoDbPredicate<T> : IPredicate<T>
{
    public Expression<Func<T, bool>> Condition { get; set; }

    public MongoDbPredicate(Expression<Func<T, bool>> condition)
    {
        Condition = condition;
    }
}

License

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

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 is compatible.  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 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 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on VersaTul.Contracts:

Package Downloads
VersaTul.Data.MongoDB

The VersaTul Data MongoDB project provides functionality for working with Mongo Databases. The project uses the repository design pattern to provide the functionality to Fetch, Add, Update, or Delete data.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.10 95 12/10/2024
1.0.9 74 12/9/2024
1.0.8 315 3/1/2024
1.0.7 146 2/1/2024
1.0.6 419 7/24/2023
1.0.5 186 7/22/2023