コード例 #1
0
 public AppLightState(Colour colour)
 {
     this.Colour = colour.DeepClone();
 }
コード例 #2
0
 public AppLightState(State state)
 {
     this.Brightness = state.Brightness;
     this.Colour     = new Colour(state);
 }