Added some read-only attributes to the cloner implementations
git-svn-id: file:///srv/devel/repo-conversion/nusu@266 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
21754b8e87
commit
f3652ac4db
3 changed files with 15 additions and 8 deletions
|
|
@ -263,13 +263,21 @@ namespace Nuclex.Support.Cloning {
|
|||
}
|
||||
|
||||
/// <summary>Compiled cloners that perform shallow clone operations</summary>
|
||||
private static ConcurrentDictionary<Type, Func<object, object>> shallowFieldBasedCloners;
|
||||
private static readonly ConcurrentDictionary<
|
||||
Type, Func<object, object>
|
||||
> shallowFieldBasedCloners;
|
||||
/// <summary>Compiled cloners that perform deep clone operations</summary>
|
||||
private static ConcurrentDictionary<Type, Func<object, object>> deepFieldBasedCloners;
|
||||
private static readonly ConcurrentDictionary<
|
||||
Type, Func<object, object>
|
||||
> deepFieldBasedCloners;
|
||||
/// <summary>Compiled cloners that perform shallow clone operations</summary>
|
||||
private static ConcurrentDictionary<Type, Func<object, object>> shallowPropertyBasedCloners;
|
||||
private static readonly ConcurrentDictionary<
|
||||
Type, Func<object, object>
|
||||
> shallowPropertyBasedCloners;
|
||||
/// <summary>Compiled cloners that perform deep clone operations</summary>
|
||||
private static ConcurrentDictionary<Type, Func<object, object>> deepPropertyBasedCloners;
|
||||
private static readonly ConcurrentDictionary<
|
||||
Type, Func<object, object>
|
||||
> deepPropertyBasedCloners;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue