VersaTul.Contracts 1.0.10

Prefix Reserved
dotnet add package VersaTul.Contracts --version 1.0.10                
NuGet\Install-Package VersaTul.Contracts -Version 1.0.10                
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.10" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VersaTul.Contracts --version 1.0.10                
#r "nuget: VersaTul.Contracts, 1.0.10"                
#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.10

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

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 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.
  • 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 102 12/10/2024
1.0.9 77 12/9/2024
1.0.8 315 3/1/2024
1.0.7 147 2/1/2024
1.0.6 420 7/24/2023
1.0.5 187 7/22/2023