Пример #1
0
 public static Behavior GetUpdateSelectDisplayObjectBehavior(string moduleName,
                                                             List <string> addElements    = null,
                                                             List <string> removeElements = null,
                                                             CombineType combineType      = CombineType.Independent)
 {
     return(new Behavior(isReDo => DisplayObjectUtil.UpdateSelectDisplayObjectDicBehavior(moduleName, addElements, removeElements),
                         isReUndo => DisplayObjectUtil.UpdateSelectDisplayObjectDicBehavior(moduleName, removeElements, addElements),
                         BehaviorType.UpdateSelectedDisplayObjectDic,
                         false,
                         combineType));
 }