Tolitech.CodeGenerator.Domain 1.0.3-alpha-4

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

// Install Tolitech.CodeGenerator.Domain as a Cake Tool
#tool nuget:?package=Tolitech.CodeGenerator.Domain&version=1.0.3-alpha-4&prerelease

Tolitech.CodeGenerator.Domain

Domain library used in projects created by the Code Generator tool.

This project contains abstract base classes, interfaces and markup interfaces to standardize and facilitate the implementation of projects generated by the Tolitech Code Generator tool.

Tolitech Code Generator Tool: http://www.tolitech.com.br

Examples:

public class Person : Entity
{
    public Person(string? name)
    {
        Name = name;
    }

    public string? Name { get; private set; }
}
public interface IPersonRepository : IRepository
{
    NotificationResult Insert(Person entity);

    IEnumerable<Person> Get();
}
public class InsertCommand : Command
{
    public string? Name { get; set; }
}
public class InsertCommandHandler : CommandHandler
{
    private readonly IPersonRepository _personRepository;

    public InsertCommandHandler(IPersonRepository personRepository)
    {
        _personRepository = personRepository;
    }

    public NotificationResult Handle(InsertCommand command)
    {
        var person = new Entities.Person(command.Name);
        var result = _personRepository.Insert(person);
        return result;
    }
}
public class GetAllQueryHandler : QueryHandler
{
    private readonly IPersonRepository _personRepository;

    public GetAllQueryHandler(IPersonRepository personRepository)
    {
        _personRepository = personRepository;
    }

    public IEnumerable<GetAllQueryResult> Handle(GetAllQuery query)
    {
        var result = new List<GetAllQueryResult>();

        var items = _personRepository.Get();

        foreach (var item in items)
        {
            result.Add(new GetAllQueryResult
            {
                Name = item.Name
            });
        }

        return result;
    }
}
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 (6)

Showing the top 5 NuGet packages that depend on Tolitech.CodeGenerator.Domain:

Package Downloads
Tolitech.CodeGenerator.Auditing

Auditing library for Tolitech Code Generator.

Tolitech.CodeGenerator.Infrastructure.Data

Infrastructure Data library for Tolitech Code Generator.

Tolitech.CodeGenerator.Infrastructure

Infrastructure library for Tolitech Code Generator.

Tolitech.CodeGenerator.AspNetCore

AspNetCore library for Tolitech Code Generator.

Tolitech.CodeGenerator.Auditing.Trail

Auditing trail library for Tolitech Code Generator.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-alpha-3 191 7/23/2021
2.0.0-alpha-2 196 7/21/2021
2.0.0-alpha-1 154 7/21/2021
1.0.3-beta-4 125 2/22/2022
1.0.3-beta-3 126 2/22/2022
1.0.3-beta-2 118 2/22/2022
1.0.3-beta-1 112 2/16/2022
1.0.3-alpha-9 222 2/15/2022
1.0.3-alpha-8 117 2/15/2022
1.0.3-alpha-7 116 2/15/2022
1.0.3-alpha-6 120 2/15/2022
1.0.3-alpha-5 102 2/15/2022
1.0.3-alpha-4 122 2/10/2022
1.0.3-alpha-3 116 2/10/2022
1.0.3-alpha-2 107 2/10/2022
1.0.3-alpha-1 2,544 11/25/2021
1.0.2 649 1/3/2021
1.0.1 389 6/28/2020
1.0.0 1,257 12/9/2019

More information at http://www.tolitech.com.br/