Try our conversational search powered by Generative AI!

Interface IUnifiedFilter

Specifies methods that a class acting as a filter for files/directories should implement

Namespace: EPiServer.Web.Hosting
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public interface IUnifiedFilter

Methods

AcceptDirectory(UnifiedDirectory)

Decides if a given directory should be returned

Declaration
bool AcceptDirectory(UnifiedDirectory dir)
Parameters
Type Name Description
UnifiedDirectory dir

The directory to evaluate

Returns
Type Description
System.Boolean

true if directory should be returned else false

AcceptFile(UnifiedFile)

Decides if a given file should be returned

Declaration
bool AcceptFile(UnifiedFile file)
Parameters
Type Name Description
UnifiedFile file

The file to evaluate

Returns
Type Description
System.Boolean

true if file should be returned else false

Extension Methods