Summary
Contains settings for
XmlTransformation
.
- Namespace
- Cake
.Common .Xml - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["XmlTransformationSettings"]
class Type type-node
Syntax
public sealed class XmlTransformationSettings
Constructors
Name | Summary |
---|---|
Xml |
Initializes a new instance of the XmlTransformationSettings class.
|
Properties
Name | Value | Summary |
---|---|---|
CheckCharacters | bool |
Gets or sets a value indicating whether the XML writer should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C XML 1.0 Recommendation.
|
ConformanceLevel | ConformanceLevel |
Gets or sets a value indicating level of conformance that the XmlWriter checks the XML output for.
|
Do |
bool |
Gets or sets a value indicating whether the XmlWriter does not escape URI attributes.
|
Encoding | Encoding |
Gets or sets the type of text encoding to use.
|
Indent | bool |
Gets or sets a value indicating whether to indent elements.
|
IndentChars | string |
Gets or sets the character string to use when indenting. This setting is used when the Indent property is set to true.
|
NamespaceHandling | NamespaceHandling |
Gets or sets a value that indicates whether the XmlWriter should remove duplicate namespace declarations when writing XML content. The default behavior is for the writer to output all namespace declarations that are present in the writer's namespace resolver.
|
NewLineChars | string |
Gets or sets the character string to use for line breaks.
|
NewLineHandling | NewLineHandling |
Gets or sets a value indicating whether to normalize line breaks in the output.
|
NewLineOnAttributes | bool |
Gets or sets a value indicating whether to write attributes on a new line.
|
OmitXmlDeclaration | bool |
Gets or sets a value indicating whether to omit an XML declaration.
|
Overwrite | bool |
Gets or sets a value indicating whether overwriting existing file is permitted.
|
Write |
bool |
Gets or sets a value indicating whether the XmlWriter will add closing tags to all unclosed element tags when the Close method is called.
|
XsltArgumentList | XsltArgumentList |
Gets or sets an argument list for XSL transformation.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|