TopicSource.WouldCreateCircularReference Method

Namespace
Kampute.DocToolkit.Topics.Abstracts
Assembly
  • Kampute.DocToolkit.dll

Definition

Checks if adding the specified topic as a subtopic would create a circular reference.
protected bool WouldCreateCircularReference(IMutableTopic subtopic)

Parameters

subtopic IMutableTopic
The topic that would be added as a subtopic.

Returns

bool
true if adding the topic would create a circular reference; otherwise, false.