C# Class WebMarkupMin.AspNet.Common.WebMarkupMinConfigurationBaseExtensions

WebMarkupMin configuration extensions
Afficher le fichier Open project: Taritsyn/WebMarkupMin

Méthodes publiques

Méthode 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 méthode

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
Résultat bool

IsPoweredByHttpHeadersEnabled() public static méthode

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
Résultat bool