コード例 #1
0
    public static void RegisterIdentificable(Identificable identificable)
    {
        identificables.Add(identificable.Identificator, identificable);
        IConnectable connectable = identificable as IConnectable;

        if (connectable != null)
        {
            connectables.Add(connectable);
        }
    }
コード例 #2
0
 public Identificable(Identificable owner, string identificator)
 {
     this.identificator = owner.identificator + OwnershipSign + identificator;
     Network.RegisterIdentificable(this);
     Logger.Log(this, "Creating.");
 }
コード例 #3
0
 public StatisticsGenerator(Identificable owner, string identificator)
     : base(owner, identificator)
 {
 }