コード例 #1
0
        public object Clone(CloneScope cloner, string propertyName, object valueFrom)
        {
            object propertyValue = ReflectionHelper.GetPropertyValue(valueFrom, propertyName);

            return cloner.Clone(propertyValue);
        }
コード例 #2
0
        protected override object GetItemValue(CloneScope cloner, IList originelList, int index)
        {
            object itemValue = base.GetItemValue(cloner, originelList, index);

            return cloner.Clone(itemValue);
        }