Exemplo n.º 1
0
        public static object Clone(this object value, CloneScope scope)
        {
            ArgumentHelper.ThrowExceptionIfNull(scope, "scope");

            return scope.Clone(value);
        }
Exemplo n.º 2
0
        public static object Clone(this object value, IMetadataCollector collector)
        {
            CloneScope scope = new CloneScope(collector);

            return Clone(value, scope);
        }