A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class FileExtensionsResolver

Inheritance
System.Object
FileExtensionsResolver
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.ObjectEditing.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public class FileExtensionsResolver

Constructors

FileExtensionsResolver(ContentTypeModelRepository)

Declaration
public FileExtensionsResolver(ContentTypeModelRepository contentTypeModelRepository)
Parameters
Type Name Description
ContentTypeModelRepository contentTypeModelRepository

Methods

GetAllowedExtensions(Type, IEnumerable<Attribute>)

Declaration
public IEnumerable<string> GetAllowedExtensions(Type modelType, IEnumerable<Attribute> attributes = null)
Parameters
Type Name Description
System.Type modelType
System.Collections.Generic.IEnumerable<System.Attribute> attributes
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

Extension Methods