Пример #1
0
        public override string ToString()
        {
            var str = new StringBuilder();

            str.Append($"{GetType().Name}:");
            str.Append("Id[" + Id + "]");
            str.Append("CardId[" + CardId + "]");
            str.Append(PowerEntity.ToString());
            return(str.ToString());
        }
Пример #2
0
 public void AddFullEntity(int id, PowerEntity entity)
 {
     LastFullEntityId = id;
     Entities.Add(id, entity);
 }
Пример #3
0
 public PowerFullEntity()
 {
     PowerEntity = new PowerEntity();
 }