Share via


Int32OrStringV1.Equals Method

Definition

Overloads

Equals(Int32OrStringV1)
Equals(Int32)

Determines whether the current instance is equal to another integer.

Equals(Object)
Equals(String)

Determines whether the current instance is equal to another string.

Equals(Int32OrStringV1)

Source:
Int32OrStringV1.cs
Source:
Int32OrStringV1.cs
public bool Equals(Aspire.Hosting.Kubernetes.Resources.Int32OrStringV1? other);
Public Function Equals (other As Int32OrStringV1) As Boolean

Parameters

Returns

Implements

Applies to

Equals(Int32)

Source:
Int32OrStringV1.cs
Source:
Int32OrStringV1.cs

Determines whether the current instance is equal to another integer.

public bool Equals(int other);
override this.Equals : int -> bool
Public Function Equals (other As Integer) As Boolean

Parameters

other
Int32

The integer to compare with.

Returns

True if the current instance is equal to the other integer; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
Int32OrStringV1.cs
Source:
Int32OrStringV1.cs
public override bool Equals(object? obj);
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

Returns

Applies to

Equals(String)

Source:
Int32OrStringV1.cs
Source:
Int32OrStringV1.cs

Determines whether the current instance is equal to another string.

public bool Equals(string? other);
override this.Equals : string -> bool
Public Function Equals (other As String) As Boolean

Parameters

other
String

The string to compare with.

Returns

True if the current instance is equal to the other string; otherwise, false.

Implements

Applies to