added test suite for BaseMongoRepository<TKey>

This commit is contained in:
Alexandre SPIESER
2019-04-15 00:26:10 +01:00
parent baaf2b5ee9
commit 530309e9fc
19 changed files with 9015 additions and 4480 deletions
@@ -9,16 +9,13 @@
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="2.1.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="MongoDB.Driver" Version="2.7.0" />
<PackageReference Include="MongoDbGenericRepository" Version="1.3.9" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.console" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.0-beta4-build3742" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MongoDbGenericRepository\MongoDbGenericRepository.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Configuration">
<HintPath>..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Configuration.dll</HintPath>
@@ -1,4 +1,5 @@
using MongoDbGenericRepository.Models;
using MongoDbGenericRepository;
using MongoDbGenericRepository.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@@ -30,7 +31,7 @@ namespace CoreIntegrationTests.Infrastructure
_fixture.PartitionKey = PartitionKey;
TestClassName = GetClassName();
MongoDbConfig.EnsureConfigured();
SUT = TestRepository.Instance;
SUT = TestTKeyRepository<Guid>.Instance;
}
protected T CreateTestDocument()
@@ -63,7 +64,7 @@ namespace CoreIntegrationTests.Infrastructure
/// <summary>
/// SUT: System Under Test
/// </summary>
protected static ITestRepository SUT { get; set; }
protected static ITestRepository<Guid> SUT { get; set; }
#region Add
@@ -1,7 +1,43 @@
using MongoDbGenericRepository;
using MongoDB.Bson;
using MongoDbGenericRepository;
using System;
namespace CoreIntegrationTests.Infrastructure
{
public interface ITestRepository<TKey> : IBaseMongoRepository<TKey> where TKey : IEquatable<TKey>
{
void DropTestCollection<TDocument>();
void DropTestCollection<TDocument>(string partitionKey);
}
public class TestTKeyRepository<TKey> : BaseMongoRepository<TKey>, ITestRepository<TKey> where TKey : IEquatable<TKey>
{
const string connectionString = "mongodb://localhost:27017/MongoDbTests";
private static readonly ITestRepository<TKey> _instance = new TestTKeyRepository<TKey>(connectionString);
/// <inheritdoc />
private TestTKeyRepository(string connectionString) : base(connectionString)
{
}
public static ITestRepository<TKey> Instance
{
get
{
return _instance;
}
}
public void DropTestCollection<TDocument>()
{
MongoDbContext.DropCollection<TDocument>();
}
public void DropTestCollection<TDocument>(string partitionKey)
{
MongoDbContext.DropCollection<TDocument>(partitionKey);
}
}
/// <summary>
/// A singleton implementation of the TestRepository
/// </summary>
@@ -1,15 +1,14 @@
using MongoDB.Driver;
using MongoDbGenericRepository.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq.Expressions;
using MongoDbGenericRepository.Models;
using System.Linq;
using System.Threading.Tasks;
namespace MongoDbGenericRepository
{
/// <summary>
/// The IBaseMongoRepository exposes the CRUD functionality of the BaseMongoRepository.
/// The IBaseMongoRepository interface exposes the CRUD functionality of the BaseMongoRepository.
/// </summary>
public interface IBaseMongoRepository :
IReadOnlyMongoRepository,
@@ -8,6 +8,9 @@ using System.Threading.Tasks;
namespace MongoDbGenericRepository
{
/// <summary>
/// The IBaseReadOnlyRepository exposes the generic Read Only functionality of the BaseMongoRepository.
/// </summary>
public interface IBaseReadOnlyRepository
{
/// <summary>
@@ -154,7 +157,7 @@ namespace MongoDbGenericRepository
/// <typeparam name="TDocument">The document type.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="orderByAscending">A property selector to order by descending.</param>
/// <param name="orderByDescending">A property selector to order by descending.</param>
/// <param name="partitionKey">An optional partitionKey.</param>
Task<TDocument> GetByMaxAsync<TDocument, TKey>(Expression<Func<TDocument, bool>> filter, Expression<Func<TDocument, object>> orderByDescending, string partitionKey = null)
where TDocument : IDocument<TKey>
@@ -166,7 +169,7 @@ namespace MongoDbGenericRepository
/// <typeparam name="TDocument">The document type.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="orderByAscending">A property selector to order by descending.</param>
/// <param name="orderByDescending">A property selector to order by descending.</param>
/// <param name="partitionKey">An optional partitionKey.</param>
TDocument GetByMax<TDocument, TKey>(Expression<Func<TDocument, bool>> filter, Expression<Func<TDocument, object>> orderByDescending, string partitionKey = null)
where TDocument : IDocument<TKey>
@@ -201,10 +204,11 @@ namespace MongoDbGenericRepository
/// </summary>
/// <typeparam name="TDocument">The document type.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <typeparam name="TValue">The type of the value used to order the query.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="orderByAscending">A property selector to order by ascending.</param>
/// <param name="partitionKey">An optional partitionKey.</param>
Task<TValue> GetMaxValueAsync<TDocument, TKey, TValue>(Expression<Func<TDocument, bool>> filter, Expression<Func<TDocument, TValue>> maxValueSelector, string partitionKey = null)
Task<TValue> GetMaxValueAsync<TDocument, TKey, TValue>(Expression<Func<TDocument, bool>> filter, Expression<Func<TDocument, TValue>> orderByAscending, string partitionKey = null)
where TDocument : IDocument<TKey>
where TKey : IEquatable<TKey>;
@@ -213,8 +217,9 @@ namespace MongoDbGenericRepository
/// </summary>
/// <typeparam name="TDocument">The document type.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <typeparam name="TValue">The type of the value used to order the query.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="orderByAscending">A property selector to order by ascending.</param>
/// <param name="orderByDescending">A property selector to order by ascending.</param>
/// <param name="partitionKey">An optional partitionKey.</param>
TValue GetMaxValue<TDocument, TKey, TValue>(Expression<Func<TDocument, bool>> filter, Expression<Func<TDocument, TValue>> orderByDescending, string partitionKey = null)
where TDocument : IDocument<TKey>
@@ -254,6 +259,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -267,6 +273,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -280,6 +287,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -293,6 +301,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -373,9 +382,9 @@ namespace MongoDbGenericRepository
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TGroupKey">The type of the grouping criteria.</typeparam>
/// <typeparam name="TProjection">The type of the projected group.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The grouping criteria.</param>
/// <param name="projection">The projected group result.</param>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="groupingCriteria">The grouping criteria.</param>
/// <param name="groupProjection">The projected group result.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
List<TProjection> GroupBy<TDocument, TGroupKey, TProjection, TKey>(
Expression<Func<TDocument, TGroupKey>> groupingCriteria,
@@ -392,6 +401,7 @@ namespace MongoDbGenericRepository
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TGroupKey">The type of the grouping criteria.</typeparam>
/// <typeparam name="TProjection">The type of the projected group.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="groupingCriteria">The grouping criteria.</param>
/// <param name="groupProjection">The projected group result.</param>
@@ -6,6 +6,10 @@ using System.Threading.Tasks;
namespace MongoDbGenericRepository
{
/// <summary>
/// The interface exposing data insertion functionality for Key typed repositories.
/// </summary>
/// <typeparam name="TKey"></typeparam>
public interface IBaseMongoRepository_Create<TKey> where TKey : IEquatable<TKey>
{
/// <summary>
@@ -45,10 +49,13 @@ namespace MongoDbGenericRepository
/// The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation.
/// Its constructor must be given a connection string and a database name.
/// </summary>
/// <typeparam name="TKey"></typeparam>
public abstract partial class BaseMongoRepository<TKey> : IBaseMongoRepository_Create<TKey> where TKey : IEquatable<TKey>
{
protected MongoDbCreator _mongoDbCreator;
private MongoDbCreator _mongoDbCreator;
/// <summary>
/// The MongoDb accessor to insert data.
/// </summary>
protected MongoDbCreator MongoDbCreator
{
get
@@ -7,13 +7,16 @@ using System.Threading.Tasks;
namespace MongoDbGenericRepository
{
/// <summary>
/// The interface exposing deletion functionality for Key typed repositories.
/// </summary>
/// <typeparam name="TKey">The type of the document Id.</typeparam>
public interface IBaseMongoRepository_Delete<TKey> where TKey : IEquatable<TKey>
{
/// <summary>
/// Deletes a document.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="document">The document you want to delete.</param>
/// <returns>The number of documents deleted.</returns>
long DeleteOne<TDocument>(TDocument document)
@@ -23,7 +26,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes a document matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="document">The document you want to delete.</param>
/// <returns>The number of documents deleted.</returns>
Task<long> DeleteOneAsync<TDocument>(TDocument document)
@@ -33,7 +35,6 @@ namespace MongoDbGenericRepository
/// Deletes a document matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -44,7 +45,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes a document matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -55,7 +55,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes the documents matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -66,7 +65,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes a list of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="documents">The list of documents to delete.</param>
/// <returns>The number of documents deleted.</returns>
Task<long> DeleteManyAsync<TDocument>(IEnumerable<TDocument> documents)
@@ -76,7 +74,6 @@ namespace MongoDbGenericRepository
/// Deletes a list of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="documents">The list of documents to delete.</param>
/// <returns>The number of documents deleted.</returns>
long DeleteMany<TDocument>(IEnumerable<TDocument> documents)
@@ -86,7 +83,6 @@ namespace MongoDbGenericRepository
/// Deletes the documents matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -98,6 +94,10 @@ namespace MongoDbGenericRepository
where TKey : IEquatable<TKey>
{
private MongoDbEraser _mongoDbEraser;
/// <summary>
/// The MongoDb accessor to delete data.
/// </summary>
protected MongoDbEraser MongoDbEraser
{
get
@@ -119,7 +119,6 @@ namespace MongoDbGenericRepository
/// Deletes a document.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="document">The document you want to delete.</param>
/// <returns>The number of documents deleted.</returns>
public virtual long DeleteOne<TDocument>(TDocument document)
@@ -132,7 +131,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes a document matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="document">The document you want to delete.</param>
/// <returns>The number of documents deleted.</returns>
public virtual async Task<long> DeleteOneAsync<TDocument>(TDocument document)
@@ -145,7 +143,6 @@ namespace MongoDbGenericRepository
/// Deletes a document matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -159,7 +156,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes a document matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -173,7 +169,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes the documents matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -187,7 +182,6 @@ namespace MongoDbGenericRepository
/// Asynchronously deletes a list of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="documents">The list of documents to delete.</param>
/// <returns>The number of documents deleted.</returns>
public virtual async Task<long> DeleteManyAsync<TDocument>(IEnumerable<TDocument> documents)
@@ -200,7 +194,6 @@ namespace MongoDbGenericRepository
/// Deletes a list of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="documents">The list of documents to delete.</param>
/// <returns>The number of documents deleted.</returns>
public virtual long DeleteMany<TDocument>(IEnumerable<TDocument> documents)
@@ -213,7 +206,6 @@ namespace MongoDbGenericRepository
/// Deletes the documents matching the condition of the LINQ expression filter.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="partitionKey">An optional partition key.</param>
/// <returns>The number of documents deleted.</returns>
@@ -7,6 +7,10 @@ using System.Threading.Tasks;
namespace MongoDbGenericRepository
{
/// <summary>
/// The interface exposing index management functionality for Key typed repositories.
/// </summary>
/// <typeparam name="TKey"></typeparam>
public interface IBaseMongoRepository_Index<TKey> where TKey : IEquatable<TKey>
{
/// <summary>
@@ -97,11 +101,14 @@ namespace MongoDbGenericRepository
/// The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation.
/// Its constructor must be given a connection string and a database name.
/// </summary>
/// <typeparam name="TKey"></typeparam>
public abstract partial class BaseMongoRepository<TKey> : IBaseMongoRepository_Index<TKey>
where TKey : IEquatable<TKey>
{
private MongoDbIndexHandler _mongoDbIndexHandler;
/// <summary>
/// The MongoDb accessor to manage indexes.
/// </summary>
protected MongoDbIndexHandler MongoDbIndexHandler
{
get
@@ -4,7 +4,11 @@ using System;
namespace MongoDbGenericRepository
{
public interface IBaseMongoDbRepository<TKey> :
/// <summary>
/// The interface exposing all the CRUD and Index functionalities for Key typed repositories.
/// </summary>
/// <typeparam name="TKey">The type of the document Id.</typeparam>
public interface IBaseMongoRepository<TKey> :
IReadOnlyMongoRepository<TKey>,
IBaseMongoRepository_Create<TKey>,
IBaseMongoRepository_Delete<TKey>,
@@ -18,13 +22,14 @@ namespace MongoDbGenericRepository
/// The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation.
/// Its constructor must be given a connection string and a database name.
/// </summary>
/// <typeparam name="TKey"></typeparam>
/// <typeparam name="TKey">The type of the document Id.</typeparam>
public abstract partial class BaseMongoRepository<TKey> :
ReadOnlyMongoRepository<TKey>,
IBaseMongoDbRepository<TKey>
IBaseMongoRepository<TKey>
where TKey : IEquatable<TKey>
{
protected readonly object _initLock = new object();
private readonly object _initLock = new object();
/// <summary>
/// The constructor taking a connection string and a database name.
@@ -2,7 +2,7 @@
<package >
<metadata>
<id>MongoDbGenericRepository</id>
<version>1.3.8</version>
<version>1.3.9</version>
<title>MongoDb Generic Repository</title>
<authors>Alexandre Spieser</authors>
<owners>Alexandre Spieser</owners>
@@ -11,7 +11,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A generic repository implementation using the MongoDB C# Sharp 2.0 driver.</description>
<releaseNotes>Release notes are at https://github.com/alexandre-spieser/mongodb-generic-repository/releases</releaseNotes>
<copyright>Copyright 2018 (c) Alexandre Spieser. All rights reserved.</copyright>
<copyright>Copyright 2019 (c) Alexandre Spieser. All rights reserved.</copyright>
<tags>MongoDb Repository Generic NoSql</tags>
<dependencies>
<dependency id="MongoDB.Driver" version="2.7.0" />
@@ -261,8 +261,9 @@ namespace MongoDbGenericRepository
/// </summary>
/// <typeparam name="TDocument">The document type.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <typeparam name="TValue">The type of the value used to order the query.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="orderByAscending">A property selector to order by ascending.</param>
/// <param name="maxValueSelector">A property selector to select the max value.</param>
/// <param name="partitionKey">An optional partitionKey.</param>
public async virtual Task<TValue> GetMaxValueAsync<TDocument, TKey, TValue>(Expression<Func<TDocument, bool>> filter, Expression<Func<TDocument, TValue>> maxValueSelector, string partitionKey = null)
where TDocument : IDocument<TKey>
@@ -327,6 +328,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -343,6 +345,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -359,6 +362,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -375,6 +379,7 @@ namespace MongoDbGenericRepository
/// Sums the values of a selected field for a given filtered collection of documents.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The field you want to sum.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
@@ -468,11 +473,11 @@ namespace MongoDbGenericRepository
/// and returns a dictionary of listed document groups with keys having the different values of the grouping criteria.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <typeparam name="TGroupKey">The type of the grouping criteria.</typeparam>
/// <typeparam name="TProjection">The type of the projected group.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
/// <param name="selector">The grouping criteria.</param>
/// <param name="projection">The projected group result.</param>
/// <param name="groupingCriteria">The grouping criteria.</param>
/// <param name="groupProjection">The projected group result.</param>
/// <param name="partitionKey">The partition key of your document, if any.</param>
public virtual List<TProjection> GroupBy<TDocument, TGroupKey, TProjection, TKey>(
Expression<Func<TDocument, TGroupKey>> groupingCriteria,
@@ -490,6 +495,7 @@ namespace MongoDbGenericRepository
/// and returns a dictionary of listed document groups with keys having the different values of the grouping criteria.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <typeparam name="TKey">The type of the primary key for a Document.</typeparam>
/// <typeparam name="TGroupKey">The type of the grouping criteria.</typeparam>
/// <typeparam name="TProjection">The type of the projected group.</typeparam>
/// <param name="filter">A LINQ expression filter.</param>
@@ -613,7 +619,6 @@ namespace MongoDbGenericRepository
/// Gets a collections for a potentially partitioned document type.
/// </summary>
/// <typeparam name="TDocument">The document type.</typeparam>
/// <typeparam name="TKey">The type of the primary key.</typeparam>
/// <param name="document">The document.</param>
/// <returns></returns>
public virtual IMongoCollection<TDocument> HandlePartitioned<TDocument>(TDocument document)
File diff suppressed because it is too large Load Diff
@@ -36,7 +36,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/DnsClient.dll": {}
"lib/netstandard1.3/DnsClient.dll": {
"assemblyVersion": "1.0.7.0",
"fileVersion": "1.0.7.0"
}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
@@ -69,7 +72,10 @@
"System.Reflection.Emit.Lightweight": "4.0.1"
},
"runtime": {
"lib/netstandard1.5/MongoDB.Bson.dll": {}
"lib/netstandard1.5/MongoDB.Bson.dll": {
"assemblyVersion": "2.7.0.0",
"fileVersion": "2.7.0.0"
}
}
},
"MongoDB.Driver/2.7.0": {
@@ -81,7 +87,10 @@
"System.Linq.Queryable": "4.0.1"
},
"runtime": {
"lib/netstandard1.5/MongoDB.Driver.dll": {}
"lib/netstandard1.5/MongoDB.Driver.dll": {
"assemblyVersion": "2.7.0.0",
"fileVersion": "2.7.0.0"
}
}
},
"MongoDB.Driver.Core/2.7.0": {
@@ -96,7 +105,10 @@
"System.Security.SecureString": "4.0.0"
},
"runtime": {
"lib/netstandard1.5/MongoDB.Driver.Core.dll": {}
"lib/netstandard1.5/MongoDB.Driver.Core.dll": {
"assemblyVersion": "2.7.0.0",
"fileVersion": "2.7.0.0"
}
}
},
"NETStandard.Library/1.6.1": {
@@ -197,7 +209,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.1/System.Buffers.dll": {}
"lib/netstandard1.1/System.Buffers.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Collections/4.3.0": {
@@ -221,7 +236,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Collections.Concurrent.dll": {}
"lib/netstandard1.3/System.Collections.Concurrent.dll": {
"assemblyVersion": "4.0.13.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Collections.NonGeneric/4.0.1": {
@@ -234,7 +252,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Collections.NonGeneric.dll": {}
"lib/netstandard1.3/System.Collections.NonGeneric.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Collections.Specialized/4.0.1": {
@@ -248,7 +269,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Collections.Specialized.dll": {}
"lib/netstandard1.3/System.Collections.Specialized.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.ComponentModel/4.0.1": {
@@ -256,7 +280,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.ComponentModel.dll": {}
"lib/netstandard1.3/System.ComponentModel.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.ComponentModel.Primitives/4.1.0": {
@@ -266,7 +293,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.0/System.ComponentModel.Primitives.dll": {}
"lib/netstandard1.0/System.ComponentModel.Primitives.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.ComponentModel.TypeConverter/4.1.0": {
@@ -288,7 +318,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": {}
"lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Console/4.3.0": {
@@ -316,7 +349,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll": {}
"lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Diagnostics.Process/4.1.0": {
@@ -390,7 +426,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Dynamic.Runtime.dll": {}
"lib/netstandard1.3/System.Dynamic.Runtime.dll": {
"assemblyVersion": "4.0.11.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Globalization/4.3.0": {
@@ -459,7 +498,10 @@
"System.Text.Encoding": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.IO.Compression.ZipFile.dll": {}
"lib/netstandard1.3/System.IO.Compression.ZipFile.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.IO.FileSystem/4.3.0": {
@@ -479,7 +521,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": {}
"lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Linq/4.3.0": {
@@ -506,7 +551,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Linq.Queryable.dll": {}
"lib/netstandard1.3/System.Linq.Queryable.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Net.Http/4.3.0": {
@@ -629,7 +677,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.ObjectModel.dll": {}
"lib/netstandard1.3/System.ObjectModel.dll": {
"assemblyVersion": "4.0.13.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Reflection/4.3.0": {
@@ -650,7 +701,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Reflection.Emit.dll": {}
"lib/netstandard1.3/System.Reflection.Emit.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection.Emit.ILGeneration/4.0.1": {
@@ -660,7 +714,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {}
"lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection.Emit.Lightweight/4.0.1": {
@@ -671,7 +728,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {}
"lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection.Extensions/4.3.0": {
@@ -695,7 +755,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.5/System.Reflection.TypeExtensions.dll": {}
"lib/netstandard1.5/System.Reflection.TypeExtensions.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Resources.ResourceManager/4.3.0": {
@@ -748,7 +811,10 @@
"runtime.native.System": "4.3.0"
},
"runtime": {
"lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {}
"lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Runtime.Numerics/4.3.0": {
@@ -759,7 +825,10 @@
"System.Runtime.Extensions": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Runtime.Numerics.dll": {}
"lib/netstandard1.3/System.Runtime.Numerics.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Security.Claims/4.3.0": {
@@ -773,7 +842,10 @@
"System.Security.Principal": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Security.Claims.dll": {}
"lib/netstandard1.3/System.Security.Claims.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Security.Cryptography.Algorithms/4.3.0": {
@@ -810,7 +882,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": {}
"lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Security.Cryptography.X509Certificates/4.3.0": {
@@ -826,7 +901,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.0/System.Security.Principal.dll": {}
"lib/netstandard1.0/System.Security.Principal.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Security.Principal.Windows/4.3.0": {
@@ -885,7 +963,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Threading.dll": {}
"lib/netstandard1.3/System.Threading.dll": {
"assemblyVersion": "4.0.12.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Threading.Overlapped/4.3.0": {
@@ -910,7 +991,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {}
"lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Threading.Thread/4.3.0": {
@@ -918,7 +1002,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Threading.Thread.dll": {}
"lib/netstandard1.3/System.Threading.Thread.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Threading.ThreadPool/4.3.0": {
@@ -927,7 +1014,10 @@
"System.Runtime.Handles": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Threading.ThreadPool.dll": {}
"lib/netstandard1.3/System.Threading.ThreadPool.dll": {
"assemblyVersion": "4.0.11.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Threading.Timer/4.3.0": {
@@ -956,7 +1046,10 @@
"System.Threading.Tasks.Extensions": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Xml.ReaderWriter.dll": {}
"lib/netstandard1.3/System.Xml.ReaderWriter.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Xml.XDocument/4.3.0": {
@@ -975,7 +1068,10 @@
"System.Xml.ReaderWriter": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Xml.XDocument.dll": {}
"lib/netstandard1.3/System.Xml.XDocument.dll": {
"assemblyVersion": "4.0.12.0",
"fileVersion": "4.6.24705.1"
}
}
}
}
@@ -1017,7 +1113,7 @@
"Microsoft.Win32.Registry/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-q+eLtROUAQ3OxYA5mpQrgyFgzLQxIyrfT2eLpYX5IEPlHmIio2nh4F5bgOaQoGOV865kFKZZso9Oq9RlazvXtg==",
"sha512": "sha512-mYUxH/YY9PwvuWY93/qsovFHAh+Lu2CNxNHWxB/x0dnpaEy6oIy/9d7R2J6dFaLZ7jhE7emLjn7A8kSzsP1A+Q==",
"path": "microsoft.win32.registry/4.0.0",
"hashPath": "microsoft.win32.registry.4.0.0.nupkg.sha512"
},
@@ -1192,14 +1288,14 @@
"System.ComponentModel.Primitives/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sc/7eVCdxPrp3ljpgTKVaQGUXiW05phNWvtv/m2kocXqrUQvTVWKou1Edas2aDjTThLPZOxPYIGNb/HN0QjURg==",
"sha512": "sha512-mAaj8PXxM7hUSIJYm9chhSe90HaIVyl8vb4JJO0M7fRaeBqSaaveHdRAmOL0LcOxp7kf9Vb8HujCe02DUqG5HQ==",
"path": "system.componentmodel.primitives/4.1.0",
"hashPath": "system.componentmodel.primitives.4.1.0.nupkg.sha512"
},
"System.ComponentModel.TypeConverter/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MnDAlaeJZy9pdB5ZdOlwdxfpI+LJQ6e0hmH7d2+y2LkiD8DRJynyDYl4Xxf3fWFm7SbEwBZh4elcfzONQLOoQw==",
"sha512": "sha512-jcj79VC96yxc/rgLB59+g4675iVts1XrfC97dniMEvmJhRl8cG7qRO3EsJQwNw8cFL6RenFxn/CGfUhgj32SdQ==",
"path": "system.componentmodel.typeconverter/4.1.0",
"hashPath": "system.componentmodel.typeconverter.4.1.0.nupkg.sha512"
},
@@ -1227,7 +1323,7 @@
"System.Diagnostics.Process/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mpVZ5bnlSs3tTeJ6jYyDJEIa6tavhAd88lxq1zbYhkkCu0Pno2+gHXcvZcoygq2d8JxW3gojXqNJMTAshduqZA==",
"sha512": "sha512-4dlFhzwmI3hl32P+8c9hnytYtV7Xldhsokm5i7Fvv5PmTS68TQCfsuJrREIyF9N1B8zlsSomp7AVrXLe45kKFQ==",
"path": "system.diagnostics.process/4.1.0",
"hashPath": "system.diagnostics.process.4.1.0.nupkg.sha512"
},
@@ -1241,7 +1337,7 @@
"System.Diagnostics.TraceSource/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6WVCczFZKXwpWpzd/iJkYnsmWTSFFiU24Xx/YdHXBcu+nFI/ehTgeqdJQFbtRPzbrO3KtRNjvkhtj4t5/WwWsA==",
"sha512": "sha512-bGUeY5wiCHYSWbYZS3QjbaQ1hNoJ1RQBQMB3E0Cgh6AH//4rXfXIOHKIW46HDOsTEDoNfvFNDXphL5W5B/XMwQ==",
"path": "system.diagnostics.tracesource/4.0.0",
"hashPath": "system.diagnostics.tracesource.4.0.0.nupkg.sha512"
},
@@ -1353,7 +1449,7 @@
"System.Net.NetworkInformation/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zNVmWVry0pAu7lcrRBhwwU96WUdbsrGL3azyzsbXmVNptae1+Za+UgOe9Z6s8iaWhPn7/l4wQqhC56HZWq7tkg==",
"sha512": "sha512-MKLDZXuBZOS348egaxkMgwSUHIIhykVf0pudpfSdzjKmkRpVCzqkpysPHHp8HfckYAhuXRM+UgxWPgFTHF8Trg==",
"path": "system.net.networkinformation/4.3.0",
"hashPath": "system.net.networkinformation.4.3.0.nupkg.sha512"
},
@@ -1367,7 +1463,7 @@
"System.Net.Security/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uM1JaYJciCc2w7efD6du0EpQ1n5ZQqE6/P43/aI4H5E59qvP+wt3l70KIUF/Ha7NaeXGoGNFPVO0MB80pVHk2g==",
"sha512": "sha512-iavC4j5XrRyX3aXbn23jHHF0NTxw9F+2vi3a94VY4BgfrYm5VQBh8OzU1TkNahTSlcKzjGhEc7ZfTfe4b62J6Q==",
"path": "system.net.security/4.0.0",
"hashPath": "system.net.security.4.0.0.nupkg.sha512"
},
@@ -1535,7 +1631,7 @@
"System.Security.SecureString/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sqzq9GD6/b0yqPuMpgIKBuoLf4VKAj8oAfh4kXSzPaN6eoKY3hRi9C5L27uip25qlU+BGPfb0xh2Rmbwc4jFVA==",
"sha512": "sha512-7TGOnj9Lr8ljCJbMHjZC34hEw3Z+zRPp7eNhLBg22mbSqO8gQMGLJ/vQkWv8HFYG0t2i53ZulKZ8NNho+jVK7Q==",
"path": "system.security.securestring/4.0.0",
"hashPath": "system.security.securestring.4.0.0.nupkg.sha512"
},
@@ -1570,7 +1666,7 @@
"System.Threading.Overlapped/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-m3HQ2dPiX/DSTpf+yJt8B0c+SRvzfqAJKx+QDWi+VLhz8svLT23MVjEOHPF/KiSLeArKU/iHescrbLd3yVgyNg==",
"sha512": "sha512-JpukcZA7kre2gQ7GrhtvZu1xv/LVEG5HV9AajQ3XV7l36T6ICalw/llfkBHeK/eqo8UWpMNqkWGCzzlSuqE6pg==",
"path": "system.threading.overlapped/4.3.0",
"hashPath": "system.threading.overlapped.4.3.0.nupkg.sha512"
},
File diff suppressed because it is too large Load Diff
@@ -36,7 +36,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/DnsClient.dll": {}
"lib/netstandard1.3/DnsClient.dll": {
"assemblyVersion": "1.0.7.0",
"fileVersion": "1.0.7.0"
}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
@@ -69,7 +72,10 @@
"System.Reflection.Emit.Lightweight": "4.0.1"
},
"runtime": {
"lib/netstandard1.5/MongoDB.Bson.dll": {}
"lib/netstandard1.5/MongoDB.Bson.dll": {
"assemblyVersion": "2.7.0.0",
"fileVersion": "2.7.0.0"
}
}
},
"MongoDB.Driver/2.7.0": {
@@ -81,7 +87,10 @@
"System.Linq.Queryable": "4.0.1"
},
"runtime": {
"lib/netstandard1.5/MongoDB.Driver.dll": {}
"lib/netstandard1.5/MongoDB.Driver.dll": {
"assemblyVersion": "2.7.0.0",
"fileVersion": "2.7.0.0"
}
}
},
"MongoDB.Driver.Core/2.7.0": {
@@ -96,7 +105,10 @@
"System.Security.SecureString": "4.0.0"
},
"runtime": {
"lib/netstandard1.5/MongoDB.Driver.Core.dll": {}
"lib/netstandard1.5/MongoDB.Driver.Core.dll": {
"assemblyVersion": "2.7.0.0",
"fileVersion": "2.7.0.0"
}
}
},
"NETStandard.Library/2.0.3": {
@@ -137,7 +149,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.1/System.Buffers.dll": {}
"lib/netstandard1.1/System.Buffers.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Collections/4.3.0": {
@@ -161,7 +176,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Collections.Concurrent.dll": {}
"lib/netstandard1.3/System.Collections.Concurrent.dll": {
"assemblyVersion": "4.0.13.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Collections.NonGeneric/4.0.1": {
@@ -174,7 +192,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Collections.NonGeneric.dll": {}
"lib/netstandard1.3/System.Collections.NonGeneric.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Collections.Specialized/4.0.1": {
@@ -188,7 +209,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Collections.Specialized.dll": {}
"lib/netstandard1.3/System.Collections.Specialized.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.ComponentModel/4.0.1": {
@@ -196,7 +220,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.ComponentModel.dll": {}
"lib/netstandard1.3/System.ComponentModel.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.ComponentModel.Primitives/4.1.0": {
@@ -206,7 +233,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.0/System.ComponentModel.Primitives.dll": {}
"lib/netstandard1.0/System.ComponentModel.Primitives.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.ComponentModel.TypeConverter/4.1.0": {
@@ -228,7 +258,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": {}
"lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Diagnostics.Debug/4.3.0": {
@@ -302,7 +335,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Dynamic.Runtime.dll": {}
"lib/netstandard1.3/System.Dynamic.Runtime.dll": {
"assemblyVersion": "4.0.11.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Globalization/4.3.0": {
@@ -356,7 +392,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": {}
"lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Linq/4.3.0": {
@@ -368,7 +407,10 @@
"System.Runtime.Extensions": "4.3.0"
},
"runtime": {
"lib/netstandard1.6/System.Linq.dll": {}
"lib/netstandard1.6/System.Linq.dll": {
"assemblyVersion": "4.1.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Linq.Expressions/4.1.0": {
@@ -392,7 +434,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.6/System.Linq.Expressions.dll": {}
"lib/netstandard1.6/System.Linq.Expressions.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Linq.Queryable/4.0.1": {
@@ -407,7 +452,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Linq.Queryable.dll": {}
"lib/netstandard1.3/System.Linq.Queryable.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Net.NameResolution/4.3.0": {
@@ -514,7 +562,10 @@
"System.Threading": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.ObjectModel.dll": {}
"lib/netstandard1.3/System.ObjectModel.dll": {
"assemblyVersion": "4.0.12.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection/4.3.0": {
@@ -535,7 +586,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Reflection.Emit.dll": {}
"lib/netstandard1.3/System.Reflection.Emit.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection.Emit.ILGeneration/4.0.1": {
@@ -545,7 +599,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {}
"lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection.Emit.Lightweight/4.0.1": {
@@ -556,7 +613,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {}
"lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Reflection.Extensions/4.3.0": {
@@ -580,7 +640,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.5/System.Reflection.TypeExtensions.dll": {}
"lib/netstandard1.5/System.Reflection.TypeExtensions.dll": {
"assemblyVersion": "4.1.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Resources.ResourceManager/4.3.0": {
@@ -633,7 +696,10 @@
"runtime.native.System": "4.3.0"
},
"runtime": {
"lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {}
"lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Runtime.Numerics/4.0.1": {
@@ -644,7 +710,10 @@
"System.Runtime.Extensions": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Runtime.Numerics.dll": {}
"lib/netstandard1.3/System.Runtime.Numerics.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Security.Claims/4.3.0": {
@@ -658,7 +727,10 @@
"System.Security.Principal": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Security.Claims.dll": {}
"lib/netstandard1.3/System.Security.Claims.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Security.Cryptography.Algorithms/4.2.0": {
@@ -743,7 +815,10 @@
"runtime.native.System.Security.Cryptography": "4.0.0"
},
"runtime": {
"lib/netstandard1.6/System.Security.Cryptography.OpenSsl.dll": {}
"lib/netstandard1.6/System.Security.Cryptography.OpenSsl.dll": {
"assemblyVersion": "4.0.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Security.Cryptography.Primitives/4.0.0": {
@@ -757,7 +832,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": {}
"lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": {
"assemblyVersion": "4.0.0.0",
"fileVersion": "1.0.24212.1"
}
}
},
"System.Security.Cryptography.X509Certificates/4.1.0": {
@@ -794,7 +872,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.0/System.Security.Principal.dll": {}
"lib/netstandard1.0/System.Security.Principal.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Security.Principal.Windows/4.3.0": {
@@ -848,7 +929,10 @@
"System.Threading.Tasks": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Threading.dll": {}
"lib/netstandard1.3/System.Threading.dll": {
"assemblyVersion": "4.0.12.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Threading.Overlapped/4.3.0": {
@@ -871,7 +955,10 @@
"System.Runtime": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Threading.Thread.dll": {}
"lib/netstandard1.3/System.Threading.Thread.dll": {
"assemblyVersion": "4.0.1.0",
"fileVersion": "4.6.24705.1"
}
}
},
"System.Threading.ThreadPool/4.3.0": {
@@ -880,7 +967,10 @@
"System.Runtime.Handles": "4.3.0"
},
"runtime": {
"lib/netstandard1.3/System.Threading.ThreadPool.dll": {}
"lib/netstandard1.3/System.Threading.ThreadPool.dll": {
"assemblyVersion": "4.0.11.0",
"fileVersion": "4.6.24705.1"
}
}
}
}
@@ -922,7 +1012,7 @@
"Microsoft.Win32.Registry/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-q+eLtROUAQ3OxYA5mpQrgyFgzLQxIyrfT2eLpYX5IEPlHmIio2nh4F5bgOaQoGOV865kFKZZso9Oq9RlazvXtg==",
"sha512": "sha512-mYUxH/YY9PwvuWY93/qsovFHAh+Lu2CNxNHWxB/x0dnpaEy6oIy/9d7R2J6dFaLZ7jhE7emLjn7A8kSzsP1A+Q==",
"path": "microsoft.win32.registry/4.0.0",
"hashPath": "microsoft.win32.registry.4.0.0.nupkg.sha512"
},
@@ -971,7 +1061,7 @@
"runtime.native.System.Net.Security/4.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Az6Ff6rZFb8nYGAaejFR6jr8ktt9f3e1Q/yKdw0pwHNTLaO/1eCAC9vzBoR9YAb0QeZD6fZXl1A9tRB5stpzXA==",
"sha512": "sha512-OpQmF7Ol4t3BVl+x2SURhymksME8f9Ke4uKWAVKPZhGZn6g5bBKvaSllV4nmNKgNQSIhM1x4IOtgc6/32H1OUg==",
"path": "runtime.native.system.net.security/4.0.1",
"hashPath": "runtime.native.system.net.security.4.0.1.nupkg.sha512"
},
@@ -1027,14 +1117,14 @@
"System.ComponentModel.Primitives/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sc/7eVCdxPrp3ljpgTKVaQGUXiW05phNWvtv/m2kocXqrUQvTVWKou1Edas2aDjTThLPZOxPYIGNb/HN0QjURg==",
"sha512": "sha512-mAaj8PXxM7hUSIJYm9chhSe90HaIVyl8vb4JJO0M7fRaeBqSaaveHdRAmOL0LcOxp7kf9Vb8HujCe02DUqG5HQ==",
"path": "system.componentmodel.primitives/4.1.0",
"hashPath": "system.componentmodel.primitives.4.1.0.nupkg.sha512"
},
"System.ComponentModel.TypeConverter/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MnDAlaeJZy9pdB5ZdOlwdxfpI+LJQ6e0hmH7d2+y2LkiD8DRJynyDYl4Xxf3fWFm7SbEwBZh4elcfzONQLOoQw==",
"sha512": "sha512-jcj79VC96yxc/rgLB59+g4675iVts1XrfC97dniMEvmJhRl8cG7qRO3EsJQwNw8cFL6RenFxn/CGfUhgj32SdQ==",
"path": "system.componentmodel.typeconverter/4.1.0",
"hashPath": "system.componentmodel.typeconverter.4.1.0.nupkg.sha512"
},
@@ -1048,14 +1138,14 @@
"System.Diagnostics.Process/4.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mpVZ5bnlSs3tTeJ6jYyDJEIa6tavhAd88lxq1zbYhkkCu0Pno2+gHXcvZcoygq2d8JxW3gojXqNJMTAshduqZA==",
"sha512": "sha512-4dlFhzwmI3hl32P+8c9hnytYtV7Xldhsokm5i7Fvv5PmTS68TQCfsuJrREIyF9N1B8zlsSomp7AVrXLe45kKFQ==",
"path": "system.diagnostics.process/4.1.0",
"hashPath": "system.diagnostics.process.4.1.0.nupkg.sha512"
},
"System.Diagnostics.TraceSource/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6WVCczFZKXwpWpzd/iJkYnsmWTSFFiU24Xx/YdHXBcu+nFI/ehTgeqdJQFbtRPzbrO3KtRNjvkhtj4t5/WwWsA==",
"sha512": "sha512-bGUeY5wiCHYSWbYZS3QjbaQ1hNoJ1RQBQMB3E0Cgh6AH//4rXfXIOHKIW46HDOsTEDoNfvFNDXphL5W5B/XMwQ==",
"path": "system.diagnostics.tracesource/4.0.0",
"hashPath": "system.diagnostics.tracesource.4.0.0.nupkg.sha512"
},
@@ -1146,7 +1236,7 @@
"System.Net.NetworkInformation/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zNVmWVry0pAu7lcrRBhwwU96WUdbsrGL3azyzsbXmVNptae1+Za+UgOe9Z6s8iaWhPn7/l4wQqhC56HZWq7tkg==",
"sha512": "sha512-MKLDZXuBZOS348egaxkMgwSUHIIhykVf0pudpfSdzjKmkRpVCzqkpysPHHp8HfckYAhuXRM+UgxWPgFTHF8Trg==",
"path": "system.net.networkinformation/4.3.0",
"hashPath": "system.net.networkinformation.4.3.0.nupkg.sha512"
},
@@ -1160,7 +1250,7 @@
"System.Net.Security/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uM1JaYJciCc2w7efD6du0EpQ1n5ZQqE6/P43/aI4H5E59qvP+wt3l70KIUF/Ha7NaeXGoGNFPVO0MB80pVHk2g==",
"sha512": "sha512-iavC4j5XrRyX3aXbn23jHHF0NTxw9F+2vi3a94VY4BgfrYm5VQBh8OzU1TkNahTSlcKzjGhEc7ZfTfe4b62J6Q==",
"path": "system.net.security/4.0.0",
"hashPath": "system.net.security.4.0.0.nupkg.sha512"
},
@@ -1349,7 +1439,7 @@
"System.Security.SecureString/4.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sqzq9GD6/b0yqPuMpgIKBuoLf4VKAj8oAfh4kXSzPaN6eoKY3hRi9C5L27uip25qlU+BGPfb0xh2Rmbwc4jFVA==",
"sha512": "sha512-7TGOnj9Lr8ljCJbMHjZC34hEw3Z+zRPp7eNhLBg22mbSqO8gQMGLJ/vQkWv8HFYG0t2i53ZulKZ8NNho+jVK7Q==",
"path": "system.security.securestring/4.0.0",
"hashPath": "system.security.securestring.4.0.0.nupkg.sha512"
},
@@ -1377,7 +1467,7 @@
"System.Threading.Overlapped/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-m3HQ2dPiX/DSTpf+yJt8B0c+SRvzfqAJKx+QDWi+VLhz8svLT23MVjEOHPF/KiSLeArKU/iHescrbLd3yVgyNg==",
"sha512": "sha512-JpukcZA7kre2gQ7GrhtvZu1xv/LVEG5HV9AajQ3XV7l36T6ICalw/llfkBHeK/eqo8UWpMNqkWGCzzlSuqE6pg==",
"path": "system.threading.overlapped/4.3.0",
"hashPath": "system.threading.overlapped.4.3.0.nupkg.sha512"
},
File diff suppressed because it is too large Load Diff