C# Class WebMarkupMin.Core.GenericHtmlMinifier.HtmlAttributeViewModel

HTML attribute view model
Show file 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 static property

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

HasQuotes public property

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

HasValue public property

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

IsEmpty public property

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

Name public property

Name
public string Name
return string

Value public property

public string Value
return string