Skip to content

7c8ed9e5 6dcb f667 bf99 224d24daed8a

Axel Kesseler edited this page Oct 3, 2019 · 2 revisions

CapacityEntity.IsEqual Method

Determines whether provided unit is equal to one of the assigned units.

Namespace: Plexdata.Converters.Entities
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1

Syntax

C#

public bool IsEqual(
	string unit
)

Parameters

 

unit
Type: System.String
The unit to be compared.

Return Value

Type: Boolean
True is returned if provided unit is equal either to Unit1 or to Unit2. Otherwise, false is returned.

Remarks

This method determines whether provided unit is equal to one of the assigned units. The string comparison takes place by using invariant culture as well as ignoring upper and lower cases.

See Also

Reference

CapacityEntity Class
Plexdata.Converters.Entities Namespace

Clone this wiki locally