src/Orleans.Serialization/Session/WellKnownTypeCollection.cs
/// <summary>
/// Tries the get the type identifier corresponding to the provided type.
/// </summary>
/// <param name="type">The type.</param>
/// <param name="typeId">The type identifier.</param>
/// <returns><see langword="true" /> if the type has a well-known identifier, <see langword="false" /> otherwise.</returns>
Tries the get the type identifier corresponding to the provided type.
Tries the get the type identifier corresponding to the provided type .
public bool TryGetWellKnownTypeId(Type type, out uint typeId)
        {
            if (type is null)
            {
                typeId = 0;
                return true;
            }
            return _wellKnownTypeToIdMap.TryGetValue(type, out typeId);
        }
public bool TryGetWellKnownTypeId ( Type type , out uint typeId ) { if ( type is null ) { typeId = 0 ; return true ; } return _wellKnownTypeToIdMap . TryGetValue ( type , out typeId ) ; }
Tries the get the type identifier corresponding to the provided type.
Tries the get the type identifier corresponding to the provided type .
if the type has a well-known identifier,  otherwise.
if the type has a well - known identifier otherwise .
type
Type
None
uint
out
typeId
The type identifier.
The type identifier .