src/Orleans.Serialization/Session/WellKnownTypeCollection.cs
/// <summary>
/// Tries to get the type corresponding to the provided type identifier.
/// </summary>
/// <param name="typeId">The type identifier.</param>
/// <param name="type">The type.</param>
/// <returns><see langword="true" /> if the corresponding type was found, <see langword="false" /> otherwise.</returns>
Tries to get the type corresponding to the provided type identifier.
Tries to get the type corresponding to the provided type identifier .
public bool TryGetWellKnownType(uint typeId, [NotNullWhen(true)] out Type type)
        {
            if (typeId == 0)
            {
                type = null;
                return true;
            }
            return _wellKnownTypes.TryGetValue(typeId, out type);
        }
public bool TryGetWellKnownType ( uint typeId , [ NotNullWhen ( true ) ] out Type type ) { if ( typeId == 0 ) { type = null ; return true ; } return _wellKnownTypes . TryGetValue ( typeId , out type ) ; }
Tries to get the type corresponding to the provided type identifier.
Tries to get the type corresponding to the provided type identifier .
if the corresponding type was found,  otherwise.
if the corresponding type was found otherwise .
typeId
uint
The type identifier.
The type identifier .
out
[NotNullWhen(true)]
type
None