C# Class WebMarkupMin.Core.AdvancedHtmlMinificationSettingsBase

Advanced HTML minification settings
Inheritance: WebMarkupMin.Core.CommonHtmlMinificationSettingsBase
显示文件 Open project: Taritsyn/WebMarkupMin

Public Methods

Method Description
AddPreservableOptionalTag ( string optionalTag ) : bool

Adds a preservable optional tag to the list

SetPreservableOptionalTags ( IEnumerable optionalTags ) : int

Sets a preservable optional tags

Protected Methods

Method Description
AdvancedHtmlMinificationSettingsBase ( bool useEmptyMinificationSettings ) : System.Collections.Generic

Constructs instance of advanced HTML minification settings

Method Details

AddPreservableOptionalTag() public method

Adds a preservable optional tag to the list
public AddPreservableOptionalTag ( string optionalTag ) : bool
optionalTag string Preservable optional tag
return bool

AdvancedHtmlMinificationSettingsBase() protected method

Constructs instance of advanced HTML minification settings
protected AdvancedHtmlMinificationSettingsBase ( bool useEmptyMinificationSettings ) : System.Collections.Generic
useEmptyMinificationSettings bool Initiates the creation of /// empty advanced HTML minification settings
return System.Collections.Generic

SetPreservableOptionalTags() public method

Sets a preservable optional tags
public SetPreservableOptionalTags ( IEnumerable optionalTags ) : int
optionalTags IEnumerable Collection of preservable optional tags
return int