public Guid Subscribe(Concept observer, string label, EndemeSet enSetRelationship, Endeme enRelationship, EndemeSet enSet, Endeme en) { // -------------------------------------------------------------------------- // Most Concepts will be added to the Observer list // -------------------------------------------------------------------------- EndemeItem standard = new EndemeItem(null); if (standard.ItemKey == Guid.Empty) { throw new Exception("boom"); } if (enRelationship.Count > 1 || !enRelationship.Contains('L')) { standard = Observer.Add(label, enSetRelationship, enRelationship, observer); } if (standard.ItemKey == Guid.Empty) { throw new Exception("boom"); } // -------------------------------------------------------------------------- // A few Concepts will be added to the Friend list // -------------------------------------------------------------------------- if (enRelationship.Contains('L')) { EndemeItem friend = Friend.Add(label, enSet, en, observer); Observer.ChangeGuid(friend.ItemKey, standard.ItemKey); } return(standard.ItemKey); }