ExpressionToCodeLib 2.7.0
See the version list below for details.
dotnet add package ExpressionToCodeLib --version 2.7.0
NuGet\Install-Package ExpressionToCodeLib -Version 2.7.0
<PackageReference Include="ExpressionToCodeLib" Version="2.7.0" />
paket add ExpressionToCodeLib --version 2.7.0
#r "nuget: ExpressionToCodeLib, 2.7.0"
// Install ExpressionToCodeLib as a Cake Addin #addin nuget:?package=ExpressionToCodeLib&version=2.7.0 // Install ExpressionToCodeLib as a Cake Tool #tool nuget:?package=ExpressionToCodeLib&version=2.7.0
Generates valid, readable C# from an expression tree, and can annotate that code with runtime values. Useful for e.g. code generation and unit testing assertions.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5.2
- FastExpressionCompiler (>= 1.6.0)
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
-
.NETStandard 1.6
- FastExpressionCompiler (>= 1.6.0)
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- NETStandard.Library (>= 1.6.1)
- System.Diagnostics.Contracts (>= 4.3.0)
- System.Reflection.Emit (>= 4.3.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Reflection.Emit.Lightweight (>= 4.3.0)
- System.Runtime (>= 4.3.0)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on ExpressionToCodeLib:
Package | Downloads |
---|---|
TestBase
*TestBase* gives you a flying start with - fluent assertions that are easy to extend - sharp error messages - tools to help you test with “heavyweight” dependencies on - AspNetCore.Mvc, AspNet.Mvc or WebApi Contexts - HttpClient - Ado.Net - Streams & Logging - Mix & match with your favourite test runners & assertions. ``` UnitUnderTest.Action() .ShouldNotBeNull() .ShouldEqualByValueExceptFor(new {Id=1, Descr=expected}, ignoreList ) .Payload .ShouldMatchIgnoringCase("I expected this") .Should(someOtherPredicate); .Items .ShouldAll(predicate) .ShouldContain(item) .ShouldNotContain(predicate) .Where(predicate) .SingleOrAssertFail() .ShouldEqualByValue().ShouldEqualByValueExceptFor(...).ShouldEqualByValueOnMembers() work with all kinds of object and collections, and report what differed. string.ShouldMatch(pattern).ShouldNotMatch().ShouldBeEmpty().ShouldNotBeEmpty() .ShouldNotBeNullOrEmptyOrWhiteSpace().ShouldEqualIgnoringCase() .ShouldContain().ShouldStartWith().ShouldEndWith().ShouldBeContainedIn(), ... numeric.ShouldBeBetween().ShouldEqualWithTolerance()....GreaterThan....LessThan...GreaterOrEqualTo ... ienumerable.ShouldAll().ShouldContain().ShouldNotContain().ShouldBeEmpty().ShouldNotBeEmpty() ... stream.ShouldHaveSameStreamContentAs().ShouldContain() value.ShouldBe().ShouldNotBe().ShouldBeOfType().ShouldBeAssignableTo()... ``` Testable Logging is in packages Extensions.Logging.ListOfString and Serilog.Sinks.ListOfString ``` // Extensions.Logging.ListOfString var log = new List<String>(); ILogger mslogger= new LoggerFactory().AddStringListLogger(log).CreateLogger("Test2"); // Serilog.Sinks.ListOfString Serilog.Logger slogger= new LoggerConfiguration().WriteTo.StringList(log).CreateLogger(); ``` |
|
ProgressOnderwijsUtils
Collection of utilities developed by ProgressOnderwijs |
|
TestBase.AdoNet
TestBase.AdoNet TestBase.FakeDb ------------------ Fake and verify AdoNet queries and commands ``` - fakeDbConnection.SetupForQuery(IEnumerable<TFakeData>; ) - fakeDbConnection.SetupForQuery(IEnumerable<Tuple<TFakeDataForTable1,TFakeDataForTable2>> ) - fakeDbConnection.SetupForQuery(fakeData, new[] {"FieldName1", FieldName2"}) - fakeDbConnection.SetupForExecuteNonQuery(rowsAffected) - fakeDbConnection.ShouldHaveUpdated("tableName", [Optional] fieldList, whereClauseField) - fakeDbConnection.ShouldHaveSelected("tableName", [Optional] fieldList, whereClauseField) - fakeDbConnection.ShouldHaveUpdated("tableName", [Optional] fieldList, whereClauseField) - fakeDbConnection.ShouldHaveDeleted("tableName", whereClauseField) - fakeDbConnection.ShouldHaveInvoked(cmd => predicate(cmd)) - fakeDbConnection.ShouldHaveExecutedStoredProcedure("name") - fakeDbConnection.ShouldHaveXXX().ShouldHaveParameter("name", value) - fakeDbConnection.Verify(x=>x.CommandText.Matches("Insert [case] .*") && x.Parameters["id"].Value==1) ``` TestBase.RecordingDb -------------------- * `new RecordingDbConnection(IDbConnection)` helps you profile Ado.Net Db calls See also - TestBase - TestBase.Mvc - TestBase.AdoNet - Serilog.Sinks.ListOfString - Extensions.Logging.ListOfString |
|
ExpressiveAssertions
Flexible assertion library leveraging the .NET expression tree syntax |
|
FranSync.DependencyInjection.WindsorCastle
FranSync.Configuration |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.5.0 | 16,679 | 8/19/2022 |
3.4.1 | 1,099 | 5/23/2022 |
3.4.0 | 12,776 | 2/21/2021 |
3.3.0 | 33,905 | 9/12/2019 |
3.2.0 | 16,953 | 2/10/2019 |
3.1.0 | 23,574 | 7/10/2018 |
3.1.0-alpha | 1,624 | 7/10/2018 |
3.0.0 | 12,053 | 6/27/2018 |
3.0.0-beta1 | 1,564 | 6/26/2018 |
3.0.0-alpha4 | 1,464 | 6/15/2018 |
3.0.0-alpha3 | 1,576 | 6/15/2018 |
3.0.0-alpha2 | 1,563 | 6/12/2018 |
3.0.0-alpha1 | 1,548 | 6/3/2018 |
2.7.0 | 114,448 | 2/19/2018 |
2.6.0 | 1,841 | 2/16/2018 |
2.6.0-signed | 1,688 | 2/16/2018 |
2.5.1 | 14,537 | 10/30/2017 |
2.5.0 | 2,090 | 9/20/2017 |
2.4.1 | 1,796 | 8/23/2017 |
2.4.0 | 2,065 | 6/1/2017 |
2.3.0 | 1,780 | 6/1/2017 |
2.2.0 | 1,763 | 5/10/2017 |
2.1.0 | 1,839 | 5/5/2017 |
2.0.0 | 2,984 | 4/26/2017 |
2.0.0-beta7 | 1,552 | 4/10/2017 |
2.0.0-beta6 | 1,472 | 3/30/2017 |
2.0.0-beta5 | 1,519 | 3/30/2017 |
2.0.0-beta4 | 1,564 | 3/26/2017 |
2.0.0-beta3 | 1,575 | 3/26/2017 |
2.0.0-beta2 | 1,605 | 1/25/2017 |
2.0.0-alpha9 | 1,631 | 1/25/2017 |
2.0.0-alpha6 | 2,562 | 7/29/2016 |
2.0.0-alpha4 | 2,262 | 2/24/2016 |
2.0.0-alpha | 1,847 | 2/7/2016 |
1.5.4 | 43,723 | 7/7/2015 |
1.5.3 | 3,718 | 6/15/2015 |
1.5.2 | 7,869 | 3/22/2015 |
1.5.1 | 2,105 | 3/10/2015 |
1.5.0 | 2,226 | 3/7/2015 |
1.4.8 | 2,736 | 1/21/2015 |
1.4.7 | 2,052 | 1/11/2015 |
1.4.6 | 4,121 | 8/30/2014 |
1.4.5 | 6,031 | 5/29/2014 |
1.4.4 | 9,241 | 4/9/2013 |
1.4.3 | 2,099 | 4/5/2013 |
1.4.2 | 2,047 | 3/29/2013 |
1.4.1 | 2,042 | 3/26/2013 |
1.4.0 | 2,044 | 3/12/2013 |
1.3.0 | 2,143 | 3/11/2013 |
1.2.0 | 1,984 | 3/8/2013 |
1.1.0.1 | 2,082 | 3/7/2013 |
1.1.0 | 2,062 | 3/7/2013 |
Remove dependency on Jetbrains.Annotations; include a first few doccomments in the package.