public static void RegisterIdentificable(Identificable identificable) { identificables.Add(identificable.Identificator, identificable); IConnectable connectable = identificable as IConnectable; if (connectable != null) { connectables.Add(connectable); } }
public Identificable(Identificable owner, string identificator) { this.identificator = owner.identificator + OwnershipSign + identificator; Network.RegisterIdentificable(this); Logger.Log(this, "Creating."); }
public StatisticsGenerator(Identificable owner, string identificator) : base(owner, identificator) { }