agileobjects/ReadableExpressions
소개
Expression Tree를 읽기 쉬운 C# 소스 코드로 변환하는 라이브러리이자 디버거 시각화 도구입니다. .NET 3.5+와 .NET Standard 1.0+을 지원합니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalReadableExpressions
ReadableExpressions provides extension methods and a
Debugger Visualizer
for readable, source-code versions of
Expression Trees,
as well as reflection objects like Type, FieldInfo, PropertyInfo, etc.
Debugger Visualizer
The Debugger Visualizer installer can be downloaded from Visual Studio Marketplace.
The visualizer has both Light and Dark themes:

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

ASP.NET Core 5 Known Issue
.NET 5 had a breaking change, which disables BinaryFormatter serialization by default.
This has caused issues with the ReadableExpressions visualizers (and elsewhere)
when debugging ASP.NET Core apps as the VS debugger uses BinaryFormatter
to serialize objects before sending them to the visualizer.
The solution is to enable the
BinaryFormatter in Debug only by adding the following to your ASP.NET Core csproj:
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<EnableUnsafeBinaryFormatterSerialization Condition=" '$(Configuration)' == 'Debug' ">
true
</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
Extension Methods
The extension methods are available on NuGet, and target .NET 3.5+ and .NETStandard 1.0+:
PM> Install-Package AgileObjects.ReadableExpressions
To translate an Expression, use:
using AgileObjects.ReadableExpressions;
string readable = myExpression.ToReadableString();
...this also works on DynamicLanguageRuntime expressions.
All code is licensed with the MIT licence. Check out the documentation for more!
관련 프로젝트 살펴보기
불러오는 중…