AnyClone icon indicating copy to clipboard operation
AnyClone copied to clipboard

A CSharp library that can deep clone any object using only reflection.

Results 11 AnyClone issues
Sort by recently updated
recently updated
newest added

I have and object like that: Person (string Name, Person subp1, Person subp2) If i create P1=new Person ("p1",null,null) and then P2= new ("p2",P1,P1) and i clone this P2 object...

Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2. Release notes Sourced from Newtonsoft.Json's releases. 13.0.2 New feature - Add support for DateOnly and TimeOnly New feature - Add UnixDateTimeConverter.AllowPreEpoch property New feature...

dependencies

```C# public class CBase { public TKey Id { get; set; } } public class C3 : CBase { public new int Id { get; set; } } public class...

Attempting to clone a derived TreeViewItem Class fails as follows: System.MissingMethodException HResult=0x80131513 Message=Constructor on type 'System.Windows.TriggerCollection' not found. Source=mscorlib StackTrace: at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[]...

Hi fellow deepcopy developer, when I ran your library against my unit tests (I was actually looking to benchmark it against the purely reflection based approach) an issue popped up:...

It is merely a question rather than a bug or issue. Is AnyClone preferred over AutoMapper.Map() method ? Without being too specific. And being a little more; do you actually...

How to clone a class that has a property of a type that only has a complex constructor? In Json.Net this is possible using the [JsonConstructor] attribute on the constructor...

trying to clone JsonSerializerOptions in dotnet core 3 throws exception. `JsonNamingPolicy.CamelCase` is not an enum but some crazy object. ```csharp using System.Text.Json.Serialization; public void ShouldCloneJsonSerializationOptions() { var jsonSerializerOptions = new...

bug

Hi, thanks for creating and sharing this great cloning library! I was using DeepCloner in the past for cloning objects, but ran into some concurrency issues when using the library....

cloning a ConcurrentDictionary would throw an exception, ```Object of type 'System.Collections.Generic.Dictionary`2[System.String,System.String]' cannot be converted to type 'System.Collections.Concurrent.ConcurrentDictionary`2[System.String,System.String]'.'``` found two issues 1. `ObjectFactory.CreateEmptyObject` does not handle `ConcurrentDictionary`, it returns a `Dictionary`...