Ejemplo n.º 1
0
        public UIComponentEventAssetData Clone()
        {
            UIComponentEventAssetData newData = new UIComponentEventAssetData
            {
                EventType        = EventType,
                EventHandlerName = EventHandlerName
            };

            return(newData);
        }
Ejemplo n.º 2
0
        public UIComponentAssetData Clone()
        {
            UIComponentAssetData newData = new UIComponentAssetData
            {
                IsSelect      = IsSelect,
                ComponentName = ComponentName,
                ComponentPath = ComponentPath,
                SelectType    = SelectType
            };

            for (int i = 0; i < EventDatas.Count; i++)
            {
                UIComponentEventAssetData newEventData = EventDatas[i].Clone();
                newData.EventDatas.Add(newEventData);
            }
            return(newData);
        }