示例#1
0
        public static KeySwitchControlModel CreateShifterControlModel(IElementCreateInfo info)
        {
            var model = new KeySwitchControlModel();

#if MUTATE2020
            model.Initialize(info);
#else
            model.Init(info);
#endif
            return(model);
        }
 /// <summary>
 /// Constructs a new instance of the KeySwitchControlViewModel class
 /// </summary>
 /// <param name="model">The KeySwitchControlModel assocaited with this view model.</param>
 public KeySwitchControlViewModel(KeySwitchControlModel model) : base(model)
 {
 }