dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Model
ObjectId Class
Wraps the string and numeric possibilities of ObjectIds from ArcGIS.
public class ObjectId :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.ObjectId>
Inheritance System.Object 🡒 ObjectId
Implements System.IEquatable<ObjectId>
Constructors
ObjectId(long) Constructor
Constructor for ObjectId that takes a numeric (long) value.
public ObjectId(long numericVal);
Parameters
numericVal
System.Int64
ObjectId(string) Constructor
Wraps the string and numeric possibilities of ObjectIds from ArcGIS.
public ObjectId(string stringVal);
Parameters
stringVal
System.String
The string value of the ObjectId.
Properties
ObjectId.NumericVal Property
The numeric value of the ObjectId, if applicable.
public System.Nullable<long> NumericVal { get; }
Property Value
ObjectId.StringVal Property
The string value of the ObjectId. If the ObjectId is numeric, this will be the string representation of the number.
public string StringVal { get; }
Property Value
Methods
ObjectId.Equals(ObjectId) Method
Equality check for ObjectId. Two ObjectIds are equal if their string values are equal, ignoring case.
public bool Equals(dymaptic.GeoBlazor.Core.Model.ObjectId? other);
Parameters
other
ObjectId
Returns
ObjectId.Equals(object) Method
public override bool Equals(object? obj);
Parameters
obj
System.Object
Returns
ObjectId.GetHashCode() Method
public override int GetHashCode();
Returns
ObjectId.ToString() Method
public override string ToString();
Returns
Operators
ObjectId.operator ==(ObjectId, ObjectId) Operator
Overrides the equality operator to compare ObjectIds.
public static bool operator ==(dymaptic.GeoBlazor.Core.Model.ObjectId? left, dymaptic.GeoBlazor.Core.Model.ObjectId? right);
Parameters
left
ObjectId
right
ObjectId
Returns
ObjectId.implicit operator ObjectId(long) Operator
Implicit conversion from long to ObjectId. This will create a new ObjectId with the numeric value.
public static dymaptic.GeoBlazor.Core.Model.ObjectId implicit operator ObjectId(long numericVal);
Parameters
numericVal
System.Int64
Returns
ObjectId.implicit operator ObjectId(string) Operator
Implicit conversion from string to ObjectId. This will create a new ObjectId with the string value.
public static dymaptic.GeoBlazor.Core.Model.ObjectId implicit operator ObjectId(string stringVal);
Parameters
stringVal
System.String
Returns
ObjectId.implicit operator long(ObjectId) Operator
Implicit conversion from ObjectId to long. If the ObjectId is not numeric, this will return 0.
public static long implicit operator long(dymaptic.GeoBlazor.Core.Model.ObjectId objectId);
Parameters
objectId
ObjectId
Returns
ObjectId.implicit operator string(ObjectId) Operator
Implicit conversion from ObjectId to string. If the ObjectId is numeric, this will return the string representation of the number.
public static string implicit operator string(dymaptic.GeoBlazor.Core.Model.ObjectId objectId);
Parameters
objectId
ObjectId
Returns
ObjectId.operator !=(ObjectId, ObjectId) Operator
Overrides the inequality operator to compare ObjectIds.
public static bool operator !=(dymaptic.GeoBlazor.Core.Model.ObjectId? left, dymaptic.GeoBlazor.Core.Model.ObjectId? right);
Parameters
left
ObjectId
right
ObjectId