コード例 #1
0
 public User(string name, ImmutableDevice immutableDevice, MutableDevice mutableDevice)
 {
     Name            = name;
     ImmutableDevice = immutableDevice;
     MutableDevice   = mutableDevice;
 }
コード例 #2
0
 public void ChangeImmutableDevice()
 {
     ImmutableDevice = new ImmutableDevice("Test device", _random.Next(10000));
 }