Class DefaultLocalAssetNameGenerator
Inheritance
System.Object
DefaultLocalAssetNameGenerator
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(ILocalAssetNameGenerator))]
public class DefaultLocalAssetNameGenerator : ILocalAssetNameGenerator
Constructors
DefaultLocalAssetNameGenerator(IContentRepository, IContentTypeRepository)
Declaration
public DefaultLocalAssetNameGenerator(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
IContentTypeRepository | contentTypeRepository |
Methods
Generate(ContentReference, Int32)
Declaration
public string Generate(ContentReference parentLink, int contentTypeId)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | parentLink | |
System.Int32 | contentTypeId |
Returns
Type | Description |
---|---|
System.String |