Class AbstractIdeaObject<T>
- Namespace
- IdeaStatiCa.BimApiLink.BimApi
- Assembly
- IdeaStatiCa.BimApiLink.dll
public abstract class AbstractIdeaObject<T> : BimLinkObject, IIdeaObject, IEquatable<AbstractIdeaObject<T>> where T : IIdeaObject
Type Parameters
T
Inheritance
Implements
-
IIdeaObject
Inherited Members
Constructors
AbstractIdeaObject(Identifier<T>)
protected AbstractIdeaObject(Identifier<T> identifier)
Parameters
identifier
Identifier<T>
Properties
Id
Identification of the object. The ids of the objects are guaranteed to be unique withing the scope of the model and constant. See IIdeaObject interface comment for more details.
public string Id { get; }
Property Value
Identifier
public Identifier<T> Identifier { get; }
Property Value
- Identifier<T>
Name
Name of the object, or null if the object does not have a name. The object name is not guaranteed to be defined or unique.
public virtual string Name { get; set; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
object-
The object to compare with the current object.
Returns
Equals(AbstractIdeaObject<T>)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AbstractIdeaObject<T> other)
Parameters
other
AbstractIdeaObject<T>-
An object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
-
A hash code for the current object.