C# Class WebMarkupMin.AspNet.Common.WebMarkupMinConfigurationBaseExtensions

WebMarkupMin configuration extensions
Mostrar archivo Open project: Taritsyn/WebMarkupMin

Public Methods

Method Description
IsAllowableResponseSize ( this configuration, long responseSize ) : bool

Checks whether the response size is not exceeded the limit

IsPoweredByHttpHeadersEnabled ( this configuration ) : bool

Checks whether the adding of *-Minification-Powered-By HTTP headers in the response is enabled

Method Details

IsAllowableResponseSize() public static method

Checks whether the response size is not exceeded the limit
public static IsAllowableResponseSize ( this configuration, long responseSize ) : bool
configuration this WebMarkupMin configuration
responseSize long Response size in bytes
return bool

IsPoweredByHttpHeadersEnabled() public static method

Checks whether the adding of *-Minification-Powered-By HTTP headers in the response is enabled
public static IsPoweredByHttpHeadersEnabled ( this configuration ) : bool
configuration this WebMarkupMin configuration
return bool