DotaCore.Domain 15.2.2

Install-Package DotaCore.Domain -Version 15.2.2
dotnet add package DotaCore.Domain --version 15.2.2
<PackageReference Include="DotaCore.Domain" Version="15.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotaCore.Domain --version 15.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotaCore.Domain, 15.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotaCore.Domain as a Cake Addin
#addin nuget:?package=DotaCore.Domain&version=15.2.2

// Install DotaCore.Domain as a Cake Tool
#tool nuget:?package=DotaCore.Domain&version=15.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DotaCore.Domain

Entity

public abstract class Entity<TId> : Base<Entity<TId>>
{
    protected Entity() { }

    protected Entity(TId id) { }

    public TId Id { get; }

    public DateTime CreatedAt { get; }

    protected sealed override IEnumerable<object> Equals() { }
}

Event

public abstract class Event
{
    public Guid Id { get; } = Guid.NewGuid();

    public DateTime DateTime { get; } = DateTime.UtcNow;
}

ValueObject

public abstract class ValueObject : Base<ValueObject> { }
public abstract class ValueObject<T> : ValueObject
{
    protected ValueObject(T value) { }

    public T Value { get; }

    protected sealed override IEnumerable<object> Equals() { }
}
  • net5.0

    • No dependencies.

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
15.2.2 66 4/6/2021