src/Orleans.Serialization/Cloning/IDeepCopier.cs
/// <summary>
/// Returns the previously recorded copy of the provided object, if it exists.
/// </summary>
/// <typeparam name="T">The object type.</typeparam>
/// <param name="original">The original object.</param>
/// <param name="result">The previously recorded copy of <paramref name="original"/>.</param>
/// <returns><see langword="true"/> if a copy of <paramref name="original"/> has been recorded, <see langword="false"/> otherwise.</returns>
Returns the previously recorded copy of the provided object, if it exists.
Returns the previously recorded copy of the provided object if it exists .
public bool TryGetCopy<T>(object original, [NotNullWhen(true)] out T result) where T : class
        {
            if (original is null)
            {
                result = null;
                return true;
            }
            if (_copies.TryGetValue(original, out var existing))
            {
                result = existing as T;
                return true;
            }
            result = null;
            return false;
        }
public bool TryGetCopy < T > ( object original , [ NotNullWhen ( true ) ] out T result ) where T : class { if ( original is null ) { result = null ; return true ; } if ( _copies . TryGetValue ( original , out var existing ) ) { result = existing as T ; return true ; } result = null ; return false ; }
Returns the previously recorded copy of the provided object, if it exists.
Returns the previously recorded copy of the provided object if it exists .
if a copy of  has been recorded,  otherwise.
if a copy of has been recorded otherwise .
original
object
The original object.
The original object .
out
[NotNullWhen(true)]
result
The previously recorded copy of .
The previously recorded copy of .
typeparam
The object type.
The object type .