Class UmbracoServices
Inheritance
System.Object
Assembly: cs.temp.dll.dll
Syntax
public sealed class UmbracoServices
Constructors
UmbracoServices(IContentTypeService, IMediaTypeService, IMemberTypeService, IPublishedContentTypeFactory, IShortStringHelper)
Declaration
public UmbracoServices(IContentTypeService contentTypeService, IMediaTypeService mediaTypeService, IMemberTypeService memberTypeService, IPublishedContentTypeFactory publishedContentTypeFactory, IShortStringHelper shortStringHelper)
Parameters
Type |
Name |
Description |
IContentTypeService |
contentTypeService |
|
IMediaTypeService |
mediaTypeService |
|
IMemberTypeService |
memberTypeService |
|
IPublishedContentTypeFactory |
publishedContentTypeFactory |
|
IShortStringHelper |
shortStringHelper |
|
Methods
GetAllTypes()
Declaration
public IList<TypeModel> GetAllTypes()
Returns
Type |
Description |
System.Collections.Generic.IList<TypeModel> |
|
GetClrName(IShortStringHelper, String, String)
Declaration
public static string GetClrName(IShortStringHelper shortStringHelper, string name, string alias)
Parameters
Type |
Name |
Description |
IShortStringHelper |
shortStringHelper |
|
System.String |
name |
|
System.String |
alias |
|
Returns
Type |
Description |
System.String |
|
GetContentTypes()
Declaration
public IList<TypeModel> GetContentTypes()
Returns
Type |
Description |
System.Collections.Generic.IList<TypeModel> |
|
Declaration
public IList<TypeModel> GetMediaTypes()
Returns
Type |
Description |
System.Collections.Generic.IList<TypeModel> |
|
GetMemberTypes()
Declaration
public IList<TypeModel> GetMemberTypes()
Returns
Type |
Description |
System.Collections.Generic.IList<TypeModel> |
|