Пример #1
0
        public static object Clone(this object value, CloneScope scope)
        {
            ArgumentHelper.ThrowExceptionIfNull(scope, "scope");

            return scope.Clone(value);
        }
Пример #2
0
        public static object Clone(this object value, IMetadataCollector collector)
        {
            CloneScope scope = new CloneScope(collector);

            return Clone(value, scope);
        }