Table of Contents

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

protected AbstractIdeaObject(Identifier<T> identifier)

Parameters

identifier Identifier<T>

Properties

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

string
public Identifier<T> Identifier { get; }

Property Value

Identifier<T>

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

string

Methods

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

bool

true if the specified object is equal to the current object; otherwise, false.

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

bool

true if the current object is equal to the other parameter; otherwise, false.

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.