/// <summary> /// Checks if this object is the same as another object. /// </summary> /// <param name="other">The other object to compare against.</param> /// <returns>True if the objects have the same unique id, false otherwise.</returns> public bool isSameObject(NSFUniquelyNumberedObject other) { return(uniqueId == other.uniqueId); }
/// <summary> /// Creates an event. /// </summary> /// <param name="name">The name of the event.</param> /// <param name="source">The source of the event.</param> /// <param name="destination">The destination of the event.</param> public NSFEvent(NSFString name, INSFNamedObject source, INSFEventHandler destination) : base(name) { construct(NSFUniquelyNumberedObject.getNextUniqueId(), source, destination); }