Class ProtobufCustomParameter
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A protobuf custom parameter extends the custom parameter, make the custom parameter support newly defined Protobuf Parameters where a ParameterKey is used rather than a ParameterOffset. MYG-50560.
public class ProtobufCustomParameter : CustomParameter
- Inheritance
-
ProtobufCustomParameter
- Inherited Members
Constructors
ProtobufCustomParameter()
Initializes a new instance of the ProtobufCustomParameter class.
public ProtobufCustomParameter()
ProtobufCustomParameter(string, int, bool, byte[], bool?, int?, uint?, int?)
Initializes a new instance of the ProtobufCustomParameter class. in bool, int, uint, bytes[] , only one type can be defined.
public ProtobufCustomParameter(string description, int offset, bool isEnabled, byte[] bytes, bool? bValueBool, int? iValueInt, uint? uiValueUint, int? parameterKey)
Parameters
descriptionstringThe description.
offsetintThe offset.
isEnabledboolif set to true [is enabled].
bytesbyte[]The bytes.
bValueBoolbool?The boolean value.
iValueIntint?The integer value.
uiValueUintuint?The unsigned integer value.
parameterKeyint?The parameter key
Properties
ParameterKey
Gets or sets the parameter key of CustomParameter.
public int? ParameterKey { get; set; }
Property Value
ValueBool
Gets or sets the boolean value of ParameterKey.
public bool? ValueBool { get; set; }
Property Value
ValueInt
Gets or sets the integer value of ParameterKey.
public int? ValueInt { get; set; }
Property Value
ValueUint
Gets or sets the unsigned integer value of ParameterKey.
public uint? ValueUint { get; set; }
Property Value
Methods
Equals(object?)
Determines whether the specified object, is equal to this instance.
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.