Class ModelUtils
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Utils class for working with models.
public static class ModelUtils
- Inheritance
-
objectModelUtils
Methods
GetContentTypeNameFromModel<TModel>()
Gets the content type name associated with the specified model of TModel
.
public static string GetContentTypeNameFromModel<TModel>() where TModel : IContentItemFieldsSource
Returns
- string
Type Parameters
TModel