Class DefaultContentTypeAdvisor
Inheritance
System.Object
DefaultContentTypeAdvisor
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Cms.Shell.UI.Rest.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IContentTypeAdvisor))]
public class DefaultContentTypeAdvisor : IContentTypeAdvisor
Constructors
DefaultContentTypeAdvisor(ContentTypeAvailabilityService, IContentLoader, FilterContentTypes)
Declaration
public DefaultContentTypeAdvisor(ContentTypeAvailabilityService contentTypeAvailablilityService, IContentLoader contentLoader, FilterContentTypes filterContentTypes)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeAvailabilityService | contentTypeAvailablilityService | |
IContentLoader | contentLoader | |
FilterContentTypes | filterContentTypes |
Methods
GetSuggestions(IContent, Boolean, IEnumerable<String>)
Declaration
public virtual IEnumerable<int> GetSuggestions(IContent parent, bool contentFolder, IEnumerable<string> requestedTypes)
Parameters
Type | Name | Description |
---|---|---|
IContent | parent | |
System.Boolean | contentFolder | |
System.Collections.Generic.IEnumerable<System.String> | requestedTypes |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |