CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey.Equals 方法

定义

重载

Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

指示当前对象是否等于同一类型的另一个对象。

Equals(Object)

确定此键是否等效于给定对象 (即它们是否是同一查询) 的键。

Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs

指示当前对象是否等于同一类型的另一个对象。

public bool Equals(Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey other);
override this.Equals : Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey -> bool
Public Function Equals (other As CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey) As Boolean

参数

other
CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey

一个与此对象进行比较的对象。

返回

如果当前对象等于 other 参数,则为 true;否则为 false

实现

适用于

Equals(Object)

Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs
Source:
CompiledQueryCacheKeyGenerator.cs

确定此键是否等效于给定对象 (即它们是否是同一查询) 的键。

public override bool Equals(object obj);
public override bool Equals(object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

此键要与之进行比较的对象。

返回

true 如果 对象是 ,并且 用于同一 CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey 查询,则为 ;否则 false为 。

适用于