Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/257.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在哪里可以查看System.IdentityModel.Services命名空间中的源代码?_C#_.net_Wif_Ws Federation - Fatal编程技术网

C# 在哪里可以查看System.IdentityModel.Services命名空间中的源代码?

C# 在哪里可以查看System.IdentityModel.Services命名空间中的源代码?,c#,.net,wif,ws-federation,C#,.net,Wif,Ws Federation,这是我第一次尝试.net源代码。我试图理解WSFederationAuthenticationModule中的事件处理程序,以便成功地覆盖它们 我从下载了.net源代码(4.5.1)。打开解决方案时,我找到了System.IdentityModel项目,但没有System.IdentityModel.Services的项目,也没有System.IdentityModel的子类 我在整个解决方案中搜索了WSFederationAuthenticationModule,但它不存在。我的期望是看到我在

这是我第一次尝试.net源代码。我试图理解
WSFederationAuthenticationModule
中的事件处理程序,以便成功地覆盖它们

我从下载了.net源代码(4.5.1)。打开解决方案时,我找到了System.IdentityModel项目,但没有System.IdentityModel.Services的项目,也没有System.IdentityModel的子类

我在整个解决方案中搜索了
WSFederationAuthenticationModule
,但它不存在。我的期望是看到我在Intellisense中看到的与ndp.sln中的项目和类的一一对应


有人能解释一下为什么源代码没有映射到编译框架中的名称空间和类,和/或告诉我从哪里可以获得
System.IdentityModel.Services

WSFederationAuthenticationModule
类位于
System.IdentityModel.Services
程序集中,在
System.IdentityModel.Services.dll中,它本身位于GAC中。您可以使用dotPeek或ILSpy之类的反编译器查看源代码。

中提供的源代码并不代表.NET中提供的完整程序集

您可能会注意到,我们拥有的程序集集不是 完成我们不打算保持这种方式,所以我们计划扩大 随时间变化的程序集集

,Immo Landwerth

在找到如何联系Microsoft请求提供新程序集之前引用的同一篇文章中,考虑到这些程序集可能是按优先级添加的,并且有多少人实际希望浏览这些程序集

话虽如此,我已经完成了您即将开始的过程,dotPeek反编译的源代码已经满足了我的需要,所以您可能希望在实际源代码不可用的情况下尝试一下