Skip to content

Commit 2dc0e4b

Browse files
authored
Releases/next (#114)
* Marking lambdas and switch statements as multi-statement, re: #111 * Adding .NET 7 test project * Fixing string constant member access translation * Simplifying ITranslation interface * Updating documentation * Tidy * Tidy * Tidy * Docs * Handling visualizer settings file creation errors, re: #109 * v4 NuGet packages * v4.5 visualizers * Adding package readme + github-hosted images * Removing images * Update README.md * Updating package readme * Revert
1 parent 1b21c93 commit 2dc0e4b

File tree

155 files changed

+9140
-10618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+9140
-10618
lines changed
648 KB
Binary file not shown.

CommonVisualizerAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
[assembly: AssemblyCompany("AgileObjects")]
55
[assembly: AssemblyProduct("ReadableExpressions.Visualizers")]
66

7-
[assembly: AssemblyVersion("4.4.0")]
8-
[assembly: AssemblyFileVersion("4.4.0")]
7+
[assembly: AssemblyVersion("4.5.0")]
8+
[assembly: AssemblyFileVersion("4.5.0")]

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Company>AgileObjects Ltd</Company>
66
<Product>AgileObjects.ReadableExpressions</Product>
77
<Authors>Steve Wilkes</Authors>
8-
<Copyright>Copyright © AgileObjects Ltd 2022</Copyright>
8+
<Copyright>Copyright © AgileObjects Ltd 2023</Copyright>
99
<NeutralResourcesLanguage>en</NeutralResourcesLanguage>
1010
<RepositoryType>git</RepositoryType>
1111
<RepositoryUrl>https://github.com/AgileObjects/ReadableExpressions</RepositoryUrl>

NextVersion.txt

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,29 @@ targetObjects.Add(
55
return (sourceObject != null)
66
? sourceObject.GetType().IsSimple() ? sourceObject : oaToOsData.Map(sourceObject, null, i)
77
: null;
8-
});
8+
});
9+
10+
targetAddressReadOnlyCollectionWrapper.Add(
11+
{
12+
try
13+
{
14+
if (sourceAddressElement == null)
15+
{
16+
return null;
17+
}
18+
19+
var address = new Address();
20+
address.Line1 = sourceAddressElement.Line1;
21+
address.Line2 = sourceAddressElement.Line2;
22+
23+
return address;
24+
}
25+
catch (Exception ex)
26+
{
27+
throw MappingException.For(
28+
"CreateNew",
29+
"AnonymousType<Address[]>.Items[i]",
30+
"WhenMappingToMetaMembers.PublicFirstItem<Address, Address[]>.Items[i]",
31+
ex);
32+
}
33+
});
362 KB
Binary file not shown.
151 KB
Binary file not shown.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ The Debugger Visualizer installer can be downloaded from
1313

1414
The visualizer has both Light and Dark themes:
1515

16-
[![Visualizer themes](/docs/src/assets/images/Themes.gif)]
16+
![Visualizer themes](https://user-images.githubusercontent.com/8459425/210999998-250552fb-150c-4e09-ae2b-9f9aa11cbb5a.gif)
1717

1818
...and output can be customised using various options:
1919

20-
[![Visualizer options](/docs/src/assets/images/Options.gif)]
20+
![Visualizer options](https://user-images.githubusercontent.com/8459425/211000081-848e0da4-8fb2-4c21-ae7c-1deb7724bf68.gif)
2121

2222
## ASP.NET Core 5 Known Issue
2323

@@ -60,4 +60,4 @@ string readable = myExpression.ToReadableString();
6060
...this also works on [DynamicLanguageRuntime](https://www.nuget.org/packages/DynamicLanguageRuntime) expressions.
6161

6262
All code is licensed with the [MIT licence](LICENCE.md). Check out
63-
[the documentation](https://readableexpressions.readthedocs.io) for more!
63+
[the documentation](https://readableexpressions.readthedocs.io) for more!

ReadableExpressions.UnitTests.Common/TestTranslationWriter.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

ReadableExpressions.UnitTests.Net5/ReadableExpressions.UnitTests.Net5.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<RootNamespace>AgileObjects.ReadableExpressions.UnitTests</RootNamespace>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
88
<WarningsAsErrors></WarningsAsErrors>
9-
<NoWarn>0649;1701;1702</NoWarn>
109
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
1110
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1211
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
@@ -36,7 +35,7 @@
3635

3736
<ItemGroup>
3837
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
39-
<PackageReference Include="xunit" Version="2.4.1" />
38+
<PackageReference Include="xunit" Version="2.4.2" />
4039
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
4140
<PrivateAssets>all</PrivateAssets>
4241
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

ReadableExpressions.UnitTests.Net6/ReadableExpressions.UnitTests.Net6.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<RootNamespace>AgileObjects.ReadableExpressions.UnitTests</RootNamespace>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
88
<WarningsAsErrors></WarningsAsErrors>
9-
<NoWarn>0649;1701;1702</NoWarn>
109
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
1110
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1211
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
@@ -36,7 +35,7 @@
3635

3736
<ItemGroup>
3837
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
39-
<PackageReference Include="xunit" Version="2.4.1" />
38+
<PackageReference Include="xunit" Version="2.4.2" />
4039
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
4140
<PrivateAssets>all</PrivateAssets>
4241
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

0 commit comments

Comments
 (0)