DotNetCore.Objects
19.6.0
dotnet add package DotNetCore.Objects --version 19.6.0
NuGet\Install-Package DotNetCore.Objects -Version 19.6.0
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="DotNetCore.Objects" Version="19.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCore.Objects --version 19.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetCore.Objects, 19.6.0"
#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 DotNetCore.Objects as a Cake Addin #addin nuget:?package=DotNetCore.Objects&version=19.6.0 // Install DotNetCore.Objects as a Cake Tool #tool nuget:?package=DotNetCore.Objects&version=19.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetCore.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 record Filter
{
public string Property { get; set; }
public string Comparison { get; set; }
public string Value { get; set; }
}
Filters
public class Filters : List<Filter> { }
Order
public record Order
{
public bool Ascending { get; set; } = true;
public string Property { get; set; }
}
Page
public record Page
{
public int Index { get; set; } = 1;
public int Size { get; set; }
}
GridParameters
public record GridParameters
{
public Filters Filters { get; set; }
public Order Order { get; set; }
public Page Page { get; set; }
}
Grid
public record 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) { }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- DotNetCore.Extensions (>= 19.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DotNetCore.Objects:
Package | Downloads |
---|---|
DotNetCore.AspNetCore
DotNetCore.AspNetCore |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DotNetCore.Objects:
Repository | Stars |
---|---|
rafaelfgx/Architecture
.NET 9, Angular 18, Clean Architecture, Clean Code, SOLID Principles, KISS Principle, DRY Principle, Fail Fast Principle, Common Closure Principle, Common Reuse Principle, Acyclic Dependencies Principle, Mediator Pattern, Result Pattern, Folder-by-Feature Structure, Separation of Concerns.
|
Version | Downloads | Last updated |
---|---|---|
19.6.0 | 81 | 11/15/2024 |