Loading...
Loading...
Compare original and translation side by side
findapidiffextensionsimplementspackagelibraryfindapidiffextensionsimplementspackagelibraryfindextensionsimplementsdnx dotnet-inspect -y -- find "Chat*" # default scope (platform + curated)
dnx dotnet-inspect -y -- find "Chat*" --platform # platform frameworks only
dnx dotnet-inspect -y -- find "Chat*" --extensions # Microsoft.Extensions.* packages
dnx dotnet-inspect -y -- find "Chat*" --aspnetcore # Microsoft.AspNetCore.* packages
dnx dotnet-inspect -y -- find "Chat*" --platform --extensions # combine scopes
dnx dotnet-inspect -y -- find "Chat*" --package Foo # specific NuGet package
dnx dotnet-inspect -y -- find "Chat*" --platform --package Foo # platform + a specific package--packageapilibrarydiff--platform <name>findextensionsimplementsdnx dotnet-inspect -y -- find "Chat*" # 默认范围(平台+精选库)
dnx dotnet-inspect -y -- find "Chat*" --platform # 仅平台框架
dnx dotnet-inspect -y -- find "Chat*" --extensions # 仅Microsoft.Extensions.*包
dnx dotnet-inspect -y -- find "Chat*" --aspnetcore # 仅Microsoft.AspNetCore.*包
dnx dotnet-inspect -y -- find "Chat*" --platform --extensions # 组合范围
dnx dotnet-inspect -y -- find "Chat*" --package Foo # 指定NuGet包
dnx dotnet-inspect -y -- find "Chat*" --platform --package Foo # 平台+指定包--packageapilibrarydiff--platform <name>dnx dotnet-inspect -y -- api System.Text.Json # all types in library
dnx dotnet-inspect -y -- api System.Text.Json JsonSerializer # members of a type
dnx dotnet-inspect -y -- api 'HashSet<T>' --platform System.Collections --shape # type shape diagram
dnx dotnet-inspect -y -- api JsonSerializer --package System.Text.Json -m Serialize # filter to memberdnx dotnet-inspect -y -- api System.Text.Json # 库中的所有类型
dnx dotnet-inspect -y -- api System.Text.Json JsonSerializer # 类型的成员
dnx dotnet-inspect -y -- api 'HashSet<T>' --platform System.Collections --shape # 类型结构示意图
dnx dotnet-inspect -y -- api JsonSerializer --package System.Text.Json -m Serialize # 筛选成员dnx dotnet-inspect -y -- find "*Handler*" --package System.CommandLine
dnx dotnet-inspect -y -- find "Option*,Argument*,Command*" --package System.CommandLine --terse
dnx dotnet-inspect -y -- find "*Logger*"dnx dotnet-inspect -y -- find "*Handler*" --package System.CommandLine
dnx dotnet-inspect -y -- find "Option*,Argument*,Command*" --package System.CommandLine --terse
dnx dotnet-inspect -y -- find "*Logger*"dnx dotnet-inspect -y -- diff --package System.CommandLine@2.0.0-beta4.22272.1..2.0.2
dnx dotnet-inspect -y -- diff --package System.Text.Json@9.0.0..10.0.0 --breaking
dnx dotnet-inspect -y -- diff JsonSerializer --package System.Text.Json@9.0.0..10.0.0dnx dotnet-inspect -y -- diff --package System.CommandLine@2.0.0-beta4.22272.1..2.0.2
dnx dotnet-inspect -y -- diff --package System.Text.Json@9.0.0..10.0.0 --breaking
dnx dotnet-inspect -y -- diff JsonSerializer --package System.Text.Json@9.0.0..10.0.0dnx dotnet-inspect -y -- extensions HttpClient # what extends HttpClient?
dnx dotnet-inspect -y -- extensions IServiceCollection # across default scope
dnx dotnet-inspect -y -- implements Stream # what extends Stream?
dnx dotnet-inspect -y -- implements IDisposable --platform # across all platform frameworksdnx dotnet-inspect -y -- extensions HttpClient # 哪些内容扩展了HttpClient?
dnx dotnet-inspect -y -- extensions IServiceCollection # 在默认范围内查找
dnx dotnet-inspect -y -- implements Stream # 哪些类型继承自Stream?
dnx dotnet-inspect -y -- implements IDisposable --platform # 在所有平台框架中查找dnx dotnet-inspect -y -- package System.Text.Json # metadata, latest version
dnx dotnet-inspect -y -- package System.Text.Json --versions # available versions
dnx dotnet-inspect -y -- library System.Text.Json # library metadata, symbols
dnx dotnet-inspect -y -- library ./bin/MyLib.dll # local filednx dotnet-inspect -y -- package System.Text.Json # 元数据、最新版本
dnx dotnet-inspect -y -- package System.Text.Json --versions # 可用版本
dnx dotnet-inspect -y -- library System.Text.Json # 库元数据、符号
dnx dotnet-inspect -y -- library ./bin/MyLib.dll # 本地文件| Command | Purpose |
|---|---|
| Public API surface — types, members, signatures, |
| Search for types by glob pattern across any scope |
| Compare API surfaces between versions — breaking/additive classification |
| Find extension methods/properties for a type |
| Find types implementing an interface or extending a base class |
| Package metadata, files, versions, dependencies |
| Library metadata, symbols, references, dependencies |
| 命令 | 用途 |
|---|---|
| 公共API接口 —— 类型、成员、签名, |
| 跨任意范围通过通配符模式搜索类型 |
| 比较不同版本间的API接口 —— 分类显示破坏性/新增变化 |
| 查找类型的扩展方法/属性 |
| 查找实现接口或继承基类的类型 |
| 包元数据、文件、版本、依赖项 |
| 库元数据、符号、引用、依赖项 |
'Option<T>''IEnumerable<T>'apiapi <source> <type> <member>..--package System.Text.Json@9.0.0..10.0.0params'Option<T>''IEnumerable<T>'api <源> <类型> <成员>..--package System.Text.Json@9.0.0..10.0.0paramsdnxnpx-y--dnx dotnet-inspect -y -- <command>dnxnpx-y--dnx dotnet-inspect -y -- <command>dnx dotnet-inspect -y -- llmstxtdnx dotnet-inspect -y -- llmstxt