Summary
Specifies how will an XmlReader handle DTDs in the XML document.
- Namespace
- Cake
.Common .Xml - Interfaces
-
- IComparable
- ISpanFormattable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT
Type-->Base0["Enum"]
Base0-->Base1["ValueType"]
Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["ISpanFormattable"]
Type-.->Interface2["IFormattable"]
Type-.->Interface3["IConvertible"]
Type["XmlDtdProcessing"]
class Type type-node
Syntax
public enum XmlDtdProcessing
Fields
Name | Constant Value | Summary |
---|---|---|
Ignore | 1 |
The DTD will be ignored. Any reference to a general entity in the XML document
will cause an exception (except for the predefined entities < > & " and ').
The DocumentType node will not be reported.
static
|
Parse | 2 |
The DTD will be parsed and fully processed (entities expanded, default attributes added etc.)
static
|
Prohibit | 0 |
The XmlReader will throw an exception when it finds a 'DOCTYPE' markup.
static
|
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
|
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 |
From StringExtensions
Requires the Cake.Issues addin
|