C# Class Elmah.ManifestResourceHandler

Reads a resource from the assembly manifest and returns its contents as the response entity.
Inheritance: IHttpHandler
显示文件 Open project: elmah/Elmah Class Usage Examples

Public Methods

Method Description
Create ( IEnumerable resourceNames, string mediaType ) : Action
Create ( IEnumerable resourceNames, string mediaType, System.Text.Encoding responseEncoding, bool cacheResponse ) : Action
Create ( string resourceName, string mediaType ) : Action
Create ( string resourceName, string mediaType, System.Text.Encoding responseEncoding ) : Action

Method Details

Create() public static method

public static Create ( IEnumerable resourceNames, string mediaType ) : Action
resourceNames IEnumerable
mediaType string
return Action

Create() public static method

public static Create ( IEnumerable resourceNames, string mediaType, System.Text.Encoding responseEncoding, bool cacheResponse ) : Action
resourceNames IEnumerable
mediaType string
responseEncoding System.Text.Encoding
cacheResponse bool
return Action

Create() public static method

public static Create ( string resourceName, string mediaType ) : Action
resourceName string
mediaType string
return Action

Create() public static method

public static Create ( string resourceName, string mediaType, System.Text.Encoding responseEncoding ) : Action
resourceName string
mediaType string
responseEncoding System.Text.Encoding
return Action