Sdl.Web.Common/Models/ModelTypeRegistry.cs
/// <summary>
/// Gets the Model Types mapped to a given semantic type name.
/// </summary>
/// <param name="semanticTypeName">The semantic type name qualified with vocabulary ID.</param>
/// <returns>The mapped model types or <c>null</c> if no Model types are registered for the given semantic type name.</returns>
Gets the Model Types mapped to a given semantic type name.
Gets the Model Types mapped to a given semantic type name .
public static IEnumerable<Type> GetMappedModelTypes(string semanticTypeName)
        {
            ISet<Type> mappedModelTypes;
            _semanticTypeToModelTypesMapping.TryGetValue(semanticTypeName, out mappedModelTypes);
            return mappedModelTypes;
        }
public static IEnumerable < Type > GetMappedModelTypes ( string semanticTypeName ) { ISet < Type > mappedModelTypes ; _semanticTypeToModelTypesMapping . TryGetValue ( semanticTypeName , out mappedModelTypes ) ; return mappedModelTypes ; }
Gets the Model Types mapped to a given semantic type name.
Gets the Model Types mapped to a given semantic type name .
The mapped model types or null
The mapped model types or null
semanticTypeName
string
The semantic type name qualified with vocabulary ID.
The semantic type name qualified with vocabulary ID .