| Ssl | -bool | -If this is an SSL connection | -
| Db | -int | -The Redis DB this connection should be set to | -
| Client | -string | -A text alias to specify for this connection for analytic purposes | -
| Password | -string | -UrlEncoded version of the Password for this connection | -
| ConnectTimeout | -int | -Timeout in ms for making a TCP Socket connection | -
| SendTimeout | -int | -Timeout in ms for making a synchronous TCP Socket Send | -
| ReceiveTimeout | -int | -Timeout in ms for waiting for a synchronous TCP Socket Receive | -
| IdleTimeOutSecs | -int | -Timeout in Seconds for an Idle connection to be considered active | -
| NamespacePrefix | -string | -Use a custom prefix for ServiceStack.Redis internal index colletions | -
- enum UserColors
- {
- [Description("Bright Red")]
- BrightRed
- }
- UserColors.BrightRed.ToDescription();
-
-
- 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),
- }
- }
-
- <?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
-
- enum UserColors
- {
- [Description("Bright Red")]
- BrightRed
- }
- UserColors.BrightRed.ToDescription();
-
-
- 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),
- }
- }
-
- <?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
-