DotaCore.Objects 15.2.1

DotaCore.Objects

Install-Package DotaCore.Objects -Version 15.2.1
dotnet add package DotaCore.Objects --version 15.2.1
<PackageReference Include="DotaCore.Objects" Version="15.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotaCore.Objects --version 15.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotaCore.Objects, 15.2.1"
#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.Objects as a Cake Addin
#addin nuget:?package=DotaCore.Objects&version=15.2.1

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

DotaCore.Objects

BinaryFile

public class BinaryFile
{
    public BinaryFile(Guid id, string name, byte[] bytes, long length, string contentType) { }

    public Guid Id { get; }

    public string Name { get; }

    public byte[] Bytes { get; private set; }

    public long Length { get; }

    public string ContentType { get; }

    public static async Task<BinaryFile> ReadAsync(string directory, Guid id) { }

    public async Task SaveAsync(string directory) { }
}

BinaryFileExtensions

public static class BinaryFileExtensions
{
    public static async Task<IEnumerable<BinaryFile>> SaveAsync(this IEnumerable<BinaryFile> files, string directory) { }
}

Filter

public sealed class Filter
{
    public string Property { get; set; }

    public string Comparison { get; set; }

    public string Value { get; set; }
}

Filters

public sealed class Filters : List<Filter> { }

Order

public class Order
{
    public bool Ascending { get; set; }

    public string Property { get; set; }
}

Page

public class Page
{
    public int Index { get; set; }

    public int Size { get; set; }
}

GridParameters

public class GridParameters
{
    public Filters Filters { get; set; }

    public Order Order { get; set; }

    public Page Page { get; set; }
}

Grid

public class Grid<T>
{
    public Grid(IQueryable<T> queryable, GridParameters parameters) { }

    public long Count { get; }

    public IEnumerable<T> List { get; }

    public GridParameters Parameters { get; }
}

GridExtensions

public static class GridExtensions
{
    public static Grid<T> Grid<T>(this IQueryable<T> queryable, GridParameters parameters) { }

    public static Task<Grid<T>> GridAsync<T>(this IQueryable<T> queryable, GridParameters parameters) { }
}

DotaCore.Objects

BinaryFile

public class BinaryFile
{
    public BinaryFile(Guid id, string name, byte[] bytes, long length, string contentType) { }

    public Guid Id { get; }

    public string Name { get; }

    public byte[] Bytes { get; private set; }

    public long Length { get; }

    public string ContentType { get; }

    public static async Task<BinaryFile> ReadAsync(string directory, Guid id) { }

    public async Task SaveAsync(string directory) { }
}

BinaryFileExtensions

public static class BinaryFileExtensions
{
    public static async Task<IEnumerable<BinaryFile>> SaveAsync(this IEnumerable<BinaryFile> files, string directory) { }
}

Filter

public sealed class Filter
{
    public string Property { get; set; }

    public string Comparison { get; set; }

    public string Value { get; set; }
}

Filters

public sealed class Filters : List<Filter> { }

Order

public class Order
{
    public bool Ascending { get; set; }

    public string Property { get; set; }
}

Page

public class Page
{
    public int Index { get; set; }

    public int Size { get; set; }
}

GridParameters

public class GridParameters
{
    public Filters Filters { get; set; }

    public Order Order { get; set; }

    public Page Page { get; set; }
}

Grid

public class Grid<T>
{
    public Grid(IQueryable<T> queryable, GridParameters parameters) { }

    public long Count { get; }

    public IEnumerable<T> List { get; }

    public GridParameters Parameters { get; }
}

GridExtensions

public static class GridExtensions
{
    public static Grid<T> Grid<T>(this IQueryable<T> queryable, GridParameters parameters) { }

    public static Task<Grid<T>> GridAsync<T>(this IQueryable<T> queryable, GridParameters parameters) { }
}

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DotaCore.Objects:

Package Downloads
DotaCore.AspNetCore
DotaCore.AspNetCore

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
15.2.1 48 4/4/2021