<?php ... ?> tags.
+ Could be passed inside a list to {@link #setPreservePatterns(List) setPreservePatterns} method.
+ <% ... %> tags.
+ Could be passed inside a list to {@link #setPreservePatterns(List) setPreservePatterns} method.
+ <--# ... --> tags.
+ Could be passed inside a list to {@link #setPreservePatterns(List) setPreservePatterns} method.
+ <div> and <li> tags.
+ Table tags are also included.
+ Could be passed to {@link #setRemoveSurroundingSpaces(string) setRemoveSurroundingSpaces} method.
+ false all compression will be bypassed. Might be useful for testing purposes.
+ Default is true.
+
+ @param enabled set false to bypass all compression
+ true all HTML comments will be removed.
+ Default is true.
+
+ @param removeComments set true to remove all HTML comments
+ true all multiple whitespace characters will be replaced with single spaces.
+ Default is true.
+
+ @param removeMultiSpaces set true to replace all multiple whitespace characters
+ will single spaces.
+ true. Default is false for performance reasons.
+
+ Note: Compressing JavaScript is not recommended if pages are + compressed dynamically on-the-fly because of performance impact. + You should consider putting JavaScript into a separate file and + compressing it using standalone YUICompressor for example.
+ + @param compressJavaScript settrue to enable JavaScript compression.
+ Default is false
+ true. Default is false for performance reasons.
+
+ Note: Compressing CSS is not recommended if pages are + compressed dynamically on-the-fly because of performance impact. + You should consider putting CSS into a separate file and + compressing it using standalone YUICompressor for example.
+ + @param compressCss settrue to enable CSS compression.
+ Default is false
+ true, existing DOCTYPE declaration will be replaced with simple <!DOCTYPE html> declaration.
+ Default is false.
+
+ @param simpleDoctype set true to replace existing DOCTYPE declaration with <!DOCTYPE html>
+ true, type="text/style" attributes will be removed from <style> tags. Default is false.
+
+ @param removeStyleAttributes set true to remove type="text/style" attributes from <style> tags
+ true, method="get" attributes will be removed from <form> tags. Default is false.
+
+ @param removeFormAttributes set true to remove method="get" attributes from <form> tags
+ true, type="text" attributes will be removed from <input> tags. Default is false.
+
+ @param removeInputAttributes set true to remove type="text" attributes from <input> tags
+ <pre> tags or inside
+ <script> tags with disabled javascript compression)
+
+ @return the total size of blocks that were skipped by the compressor, in bytes
+ <script> tags
+
+ @return total size of inline <script> tags, in bytes
+ <style> tags
+
+ @return total size of inline <style> tags, in bytes
+ onclick, etc)
+
+ @return total size of inline event handlers, in bytes
+
+ public class Customer {
+ public int Id { get; set; }
+ public string Name { get; set; }
+
+ public static readonly InlineValidator<Customer> Validator = new InlineValidator<Customer> {
+ v => v.RuleFor(x => x.Name).NotNull(),
+ v => v.RuleFor(x => x.Id).NotEqual(0),
+ }
+ }
+
+
+ enum UserColors
+ {
+ [Description("Bright Red")]
+ BrightRed
+ }
+ UserColors.BrightRed.ToDescription();
+
+ ItemEqualsItem(storeableItem, searchKey) ? GetItemHashCode(storeableItem) == GetItemHashCode(searchKey) : true should always be true;
+ ItemEqualsItem(storeableItem, searchKey) ? GetItemHashCode(storeableItem) == GetItemHashCode(searchKey) : true should always be true;
+ IsEmpty(default(TStoredI)) should always be true.ItemEqualsItem(storeableItem, searchKey) ? GetItemHashCode(storeableItem) == GetItemHashCode(searchKey) : true should always be true;
+ ItemEqualsItem(storeableItem, searchKey) ? GetItemHashCode(storeableItem) == GetItemHashCode(searchKey) : true should always be true;
+ IsEmpty(default(TStoredI)) should always be true.