sealed class
|
LinkNode
|
extends
|
DocumentNode
|
||
implements
|
ILinkNode
|
Serialization information about this type.
public
static
readonly
field
|
SerialId
|
||
type
|
ISerialTypeInfo
|
The config node this link refers to.
public
property
|
Config
{
get
}
|
||
type
|
ConfigNode
|
||
value
|
The
target
config
node
or
null . |
||
implements
|
ILinkNode.Config
|
Is this a link to a config node (see ForName)?.
public
property
|
IsConfig
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
this
link
refers
to
a
config
node,
false
if
not. |
||
implements
|
ILinkNode.IsConfig
|
Is this document node empty (i.e. it contains whitespace only)?
public
override
property
|
IsEmpty
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
this
document
node
is
empty,
false
if
not. |
||
implements
|
DocumentNode.IsEmpty
|
The link value.
public
property
|
Link
{
get
set
}
|
||
type
|
string
|
||
value
|
|
The link value. | |
implements
|
ILinkNode.Link
|
Returns the serial type of this object.
public
property
|
SerialType
{
get
}
|
||
type
|
ISerialTypeInfo
|
||
value
|
|
The serial type. | |
inherited
|
SerializableBase.SerialType
|
Returns the serial data version.
public
virtual
property
|
SerialVersion
{
get
}
|
||
type
|
int32
|
||
value
|
|
The serial data version tag. | |
inherited
|
SerializableBase.SerialVersion
|
Remarks:
An ISerializable implementation is required to support all versions up to the one returned by SerialVersion.
See also:
ISerializable.SerializeThe link title.
public
property
|
Title
{
get
set
}
|
||
type
|
string
|
||
value
|
The link title. | ||
implements
|
ILinkNode.Title
|
The whitespace flags of this inline node.
public
property
|
Whitespace
{
get
}
|
||
type
|
WhitespaceFlags
|
||
value
|
The whitespace flags. | ||
implements
|
IInlineNode.Whitespace
|
Creates a new instance of LinkNode.
public
constructor
|
LinkNode
()
|
Creates a new instance of LinkNode.
public
constructor
|
LinkNode
(string link,
string title = null)
|
||
params
|
link
|
The link text. | |
title
|
The
link
title.
Defaults
to
null . |
Accepts the given node visitor.
public
override
method
|
Accept
(IDocumentNodeVisitor visitor,
object userData)
|
||
params
|
visitor
|
The
visitor
to
accept.
If
null
the
method
shall
return
silently.
|
|
userData
|
Optional user data object. | ||
implements
|
DocumentNode.Accept
|
Initializes the state of this object from the given data stream.
public
override
method
|
Deserialize
(int32 serialVersion,
ISerializer data)
|
||
type
|
ISerializable
|
||
params
|
serialVersion
|
[>=1]
|
The serial data version. |
data
|
[not-null]
|
The serial data stream. | |
returns
|
|
The
deserialized
object.
This
will
typically
be
this ,
but
in
some
circumstances,
another
instance
may
be
returned
(e.g.
singletons).
|
|
overrides
|
SerializableBase.Deserialize
|
Remarks:
The Deserialize method will be called immediately after the object has been instantiated via its default constructor.
The provided serialVersion number is guaranteed to be equal to or less than the SerialVersion returned by this object (i.e. ISerializable object must provide backwards compatibility).
See also:
ISerializable.SerializeSerializes the current state of this object to the given data stream.
public
override
method
|
Serialize
(ISerializer data)
|
||
params
|
data
|
[not-null]
|
The serial data stream. |
overrides
|
SerializableBase.Serialize
|
See also:
ISerializable.Deserialize
[Pure]
|
||||
public
override
sealed
method
|
ToString
()
|
|||
type
|
string
|
|||
inherited
|
DocumentNode.ToString
|
Validates the state of this object.
public
override
method
|
Validate
(Validator validator)
|
||
params
|
validator
|
[not-null]
|
The validator object. |
overrides
|
DocumentNode.Validate
|
Produces source code by feeding the given source code writer.
public
override
method
|
WriteSourceCode
(SourceCodeWriter writer,
Context context)
|
||
params
|
writer
|
[not-null]
|
The source code writer to use. |
context
|
[not-null]
|
Context information. | |
implements
|
DocumentNode.WriteSourceCode
|