|
using System.Configuration;
namespace MinifyContent
{
/// <summary>
/// Response Configuration Section
/// </summary>
class ResponseStreamConfiguration : ConfigurationSection
{
/// <summary>
/// Spaces replace with single space
/// </summary>
[ConfigurationProperty("supressWithWhiteSpace", DefaultValue = "false", IsRequired= false)]
public bool SupressWithWhiteSpace
{
get
{
return (bool)this["supressWithWhiteSpace"];
}
set
{
this["supressWithWhiteSpace"] = value;
}
}
/// <summary>
/// Confirm Html comment tag is in javascript on page
/// </summary>
[ConfigurationProperty("isHtmlCommentTagInJS", DefaultValue = "false", IsRequired = false)]
public bool IsHtmlCommentTagInJS
{
get
{
return (bool)this["isHtmlCommentTagInJS"];
}
set
{
this["isHtmlCommentTagInJS"] = value;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Mehul Thakkar is having 8 yrs of experience in IT industry. He is having good command over Ms .Net and Ms Sql Server