-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Value class has no possibility to compare with another Value object.
There is a possibility to convert to another type, but no way to understand what type Value is.
For example there is:
public static implicit operator string(Value value) => value.String;
or
private string String
{
get
{
Assert.IsTrue(_valueType == ValueTypes.STRING && _dataType == DataTypes.PRIMITIVE);
return _string;
}
}
But no way to understand if Value is a string. As ValueType enum is private, and _valueType field is also private, and no property to get it.
Would be great to have possibility to compare Value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels