예제 #1
0
        protected internal virtual void CopyMembers(InteractivityCollection <T> source)
        {
            var count = source.Count;

            if (_innerCollection.Capacity < count)
            {
                _innerCollection.Capacity = count;
            }

            for (var i = 0; i < count; i++)
            {
                Add(source[i].DeepClone <T>());
            }
        }
예제 #2
0
 public void UpdateThemeResources(InteractivityCollection collection)
 {
     collection?.WalkTree(UpdateThemeResourcesVisitor.Instance);
 }
예제 #3
0
 public void UpdateSkin(InteractivityCollection collection, SkinBase skin)
 {
     collection?.WalkTree(skin ?? UpdateNullSkinVisitor.Instance);
 }