Exemplo n.º 1
0
 public Node(List <Pin> pins, string name = "")
 {
     NodeId = UniqueIdGenerator.GenerateNodeId();
     Name   = string.IsNullOrEmpty(name)
         ? $"{GetType().Name}{nameof(Node)}{NodeId}"
         : $"{name}{NodeId}";
     Pins = pins;
     Off();
 }