Class ShellZipArchiveVirtualPathProviderModule
Handles convention based registration of ZipArchiveVirtualPathProvider for modules.
Inheritance
System.Object
ShellZipArchiveVirtualPathProviderModule
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.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
public class ShellZipArchiveVirtualPathProviderModule : IVirtualPathProviderModule
Remarks
If a module contains a .zip archive file with the same name as the directory it will be registered and the content of the archive exposed through a ZipArchiveVirtualPathProvider.
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Constructors
ShellZipArchiveVirtualPathProviderModule()
Initializes a new instance of the ShellZipArchiveVirtualPathProviderModule class.
Declaration
public ShellZipArchiveVirtualPathProviderModule()
Methods
CreateProviders(InitializationEngine)
Method is called the EPiServer Framework initializes to give a chance to register providers as early as possible
Declaration
public IEnumerable<VirtualPathProvider> CreateProviders(InitializationEngine context)
Parameters
Type | Name | Description |
---|---|---|
InitializationEngine | context | The context |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Web.Hosting.VirtualPathProvider> | A list of providers |