C# Class WebMarkupMin.Core.GenericHtmlMinifier.HtmlAttributeViewModel

HTML attribute view model
Datei anzeigen Open project: Taritsyn/WebMarkupMin

Public Properties

Property Type Description
Empty HtmlAttributeViewModel
HasQuotes bool
HasValue bool
IsEmpty bool
Name string
Value string

Public Methods

Method Description
HtmlAttributeViewModel ( string name, string value, bool hasQuotes ) : System

Constructs instance of HTML attribute view model

Method Details

HtmlAttributeViewModel() public method

Constructs instance of HTML attribute view model
public HtmlAttributeViewModel ( string name, string value, bool hasQuotes ) : System
name string Name
value string Value
hasQuotes bool Flag indicating whether the attribute value enclosed in quotes
return System

Property Details

Empty public_oe static_oe property

Represents a empty HTML attribute view model
public static HtmlAttributeViewModel Empty
return HtmlAttributeViewModel

HasQuotes public_oe property

Flag indicating whether the attribute value enclosed in quotes
public bool HasQuotes
return bool

HasValue public_oe property

Flag indicating whether the attribute has a value
public bool HasValue
return bool

IsEmpty public_oe property

Flag indicating whether the attribute is empty
public bool IsEmpty
return bool

Name public_oe property

Name
public string Name
return string

Value public_oe property

public string Value
return string