FileSystemResourceHandler Class

FileSystemResourceHandler class

This class is an implementation of the ResourceHandler class designed to save resources to the local file system.

public class FileSystemResourceHandler : ResourceHandler

Constructors

NameDescription
FileSystemResourceHandler(string)Initializes a new instance of the FileSystemResourceHandler class.
FileSystemResourceHandler(Url)Initializes a new instance of the FileSystemResourceHandler class.

Methods

NameDescription
override HandleResource(Resource, ResourceHandlingContext)This method is responsible for handling the resource. In it you can save the Resource to the stream or embed it into the parent resource.
virtual HandleResourceReference(Resource, ResourceHandlingContext)This method is responsible for handling the resource reference. In this method, you can set what the reference to the resource being handled will look like.

See Also