AssemblyIdentityComparer.ReferenceMatchesDefinition 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReferenceMatchesDefinition(AssemblyIdentity, AssemblyIdentity) |
将程序集引用标识与定义标识进行比较。 |
ReferenceMatchesDefinition(String, AssemblyIdentity) |
将程序集引用名称 (可能部分) 与定义标识进行比较。 |
ReferenceMatchesDefinition(AssemblyIdentity, AssemblyIdentity)
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
将程序集引用标识与定义标识进行比较。
public:
bool ReferenceMatchesDefinition(Microsoft::CodeAnalysis::AssemblyIdentity ^ reference, Microsoft::CodeAnalysis::AssemblyIdentity ^ definition);
public bool ReferenceMatchesDefinition (Microsoft.CodeAnalysis.AssemblyIdentity reference, Microsoft.CodeAnalysis.AssemblyIdentity definition);
member this.ReferenceMatchesDefinition : Microsoft.CodeAnalysis.AssemblyIdentity * Microsoft.CodeAnalysis.AssemblyIdentity -> bool
Public Function ReferenceMatchesDefinition (reference As AssemblyIdentity, definition As AssemblyIdentity) As Boolean
参数
- reference
- AssemblyIdentity
引用程序集标识。
- definition
- AssemblyIdentity
完整程序集显示名称。
返回
如此 如果引用标识与定义标识匹配。
适用于
ReferenceMatchesDefinition(String, AssemblyIdentity)
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
- Source:
- AssemblyIdentityComparer.cs
将程序集引用名称 (可能部分) 与定义标识进行比较。
public:
bool ReferenceMatchesDefinition(System::String ^ referenceDisplayName, Microsoft::CodeAnalysis::AssemblyIdentity ^ definition);
public bool ReferenceMatchesDefinition (string referenceDisplayName, Microsoft.CodeAnalysis.AssemblyIdentity definition);
member this.ReferenceMatchesDefinition : string * Microsoft.CodeAnalysis.AssemblyIdentity -> bool
Public Function ReferenceMatchesDefinition (referenceDisplayName As String, definition As AssemblyIdentity) As Boolean
参数
- referenceDisplayName
- String
部分或完整程序集显示名称。
- definition
- AssemblyIdentity
完整程序集显示名称。
返回
如果引用名称与定义标识匹配,则为 True。