Id Structure
Represents the identity of a Feature.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public struct Id :
System.IComparable<Id>,
System.IEquatable<Id>Remarks
An Id is used to identify which dataset a feature belongs to and the feature itself inside that dataset. This type is immutable.
Platforms
Windows, Linux, Android
Id Members
The Id type has the following members.
Constructors
| Name | Description |
|---|---|
| Id | Overloaded. Creates a new Id. |
Properties
| Name | Description |
|---|---|
| DataSetId | Gets the dataset id in this Id. |
| FeatureId | Gets the feature id in this Id. |
Methods
| Name | Description |
|---|---|
| CompareTo | Compares this Id with another Id. |
| Equals | Overloaded. Determines whether two Id objects have the same value. |
| GetHashCode | Returns the hash code for this Id. |
| Determines whether two specified Id objects have the same value. | |
| Determines whether two specified Id objects have different values. | |
| ToString | Converts this Id to a human readable string. |