MeControla.Core 8.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package MeControla.Core --version 8.0.10
                    
NuGet\Install-Package MeControla.Core -Version 8.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="MeControla.Core" Version="8.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeControla.Core" Version="8.0.10" />
                    
Directory.Packages.props
<PackageReference Include="MeControla.Core" />
                    
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 MeControla.Core --version 8.0.10
                    
#r "nuget: MeControla.Core, 8.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.
#:package MeControla.Core@8.0.10
                    
#: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=MeControla.Core&version=8.0.10
                    
Install as a Cake Addin
#tool nuget:?package=MeControla.Core&version=8.0.10
                    
Install as a Cake Tool

Repository

Licence NuGet NuGet Quality Gate Status

Bugs Code Smells Coverage Duplicated Lines (%) Lines of Code Reliability Rating Security Rating Technical Debt Maintainability Rating Vulnerabilities

Build Coverage CodeQL
Main .NET Coverage Status CodeQL

Me Controla Core

Me Controla Core is a simple and versatile solution designed to streamline everyday implementations in any type of C# application. Our library offers a collection of essential features that can be easily integrated into various projects, ranging from small desktop applications to large enterprise systems.

MeControla.Core was created with the goal of simplifying common development tasks by providing intuitive and efficient tools to speed up your work. Whether you are developing a WPF application, ASP.NET MVC, or any other C# platform, our library fits perfectly with your needs.

Explore the following sections to learn how to install, configure, and use MeControla.Core efficiently. With practical examples and a complete API reference, you'll be ready to make the most of the features offered, turning your ideas into reality with more speed and less effort.

Installation

Installing Me Controla Core is quick and easy through NuGet, the package manager for .NET. You can install the library directly into your project using the following method:

dotnet add package MeControla.Core

Use the --version option to specify a pre-release version to install.

Basic Usage

The following code demonstrates the basic usage of the Me Controla Core library to create a Builder that assists in the creation of a User object. For more information, please refer to the documentation.

using MeControla.Core;

// Basic usage example of the Builder to create a User object.
public class User
{
    public string Name { get; set; }
    public int Age { get; set; }
    public bool Active { get; set; }
}

public class UserBuilder : BaseBuilder<UserBuilder, User>, IBuilder<User>
{
    protected override void FillDefaultValues(User obj)
        => obj.Active = true;

    public UserBuilder WithName(string value)
        => Set(obj => obj.Name = value);

    public UserBuilder WithAge(int value)
        => Set(obj => obj.Age = value);
}

class Program
{
    static void Main()
    {
        User user = UserBuilder.GetInstance()
                               .WithName("John Doe")
                               .WithAge(30)
                               .ToBuild();

        Console.WriteLine($"User: {user.Name}, Age: {user.Age}, Active: {(user.Active ? "Yes" ; "No")}");
    }
} //Result: User: John Doe, Age: 30, Active: Yes

License

This and other projects are maintained by Me Controla and licensed under the Apache License, Version 2.0.

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.3 605 3/12/2025
9.0.2 168 2/24/2025
8.0.11 167 1/30/2025
8.0.10 184 10/14/2024
8.0.8 185 9/27/2024
8.0.7 183 9/11/2024
8.0.6 191 6/13/2024
8.0.5 205 5/9/2024
8.0.4 207 2/23/2024
8.0.3 194 2/22/2024
8.0.2 192 2/21/2024
8.0.1 223 2/8/2024
8.0.0 211 1/29/2024
7.0.0 319 5/25/2023
1.0.10 301 5/25/2023
1.0.9 378 3/1/2023
1.0.8 386 2/16/2023
1.0.7 464 12/6/2022
1.0.6 468 11/25/2022
1.0.5 664 6/25/2021
Loading failed