Class IdentifiableElement
Inheritance
System.Object
IdentifiableElement
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Model
Assembly: Mars.Interfaces.dll
Syntax
public abstract class IdentifiableElement
Constructors
| Improve this Doc View SourceIdentifiableElement()
Declaration
protected IdentifiableElement()
Properties
| Improve this Doc View SourceId
The global unique identifier of this identifiable static element
Declaration
[JsonIgnore]
public Guid Id { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Name
The identifier of an element
Declaration
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore, Required = Required.Always)]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified object is equal to the current object; otherwise, false. |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |
Overrides
System.Object.GetHashCode()