Dependency.Equals 方法

定义

重载

Equals(Dependency)

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

Equals(Object)

Equals(Dependency)

Source:
Dependency.cs
Source:
Dependency.cs

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

public:
 virtual bool Equals(Microsoft::Extensions::DependencyModel::Dependency other);
public bool Equals (Microsoft.Extensions.DependencyModel.Dependency other);
override this.Equals : Microsoft.Extensions.DependencyModel.Dependency -> bool
Public Function Equals (other As Dependency) As Boolean

参数

other
Dependency

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

返回

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

实现

适用于

Equals(Object)

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

参数

obj
Object

返回

适用于