Defines documentation content for ConfigType s.
sealed class
|
ConfigDoc
|
implements
|
IValidatable
|
||
extends
|
SerializableBase
|
Serialization information about this type.
public
static
readonly
field
|
SerialId
|
||
type
|
ISerialTypeInfo
|
public
property
|
ModuleGuid
{
get
}
|
||
type
|
GUID
|
||
value
|
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.Serialize
public
property
|
TypeDocs
{
get
}
|
||
type
|
IBagConst<ITypeDocNode>
|
||
value
|
Creates a new instance of ConfigDoc.
public
constructor
|
ConfigDoc
(TinmanModule module)
|
||
params
|
module
|
[not-null]
|
The module. |
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.SerializeReturns the documentation for the given type.
public
method
|
Get
(string name)
|
||
type
|
ITypeDocNode
|
||
params
|
name
|
[not-null]
|
The type name. |
returns
|
The
documentation
or
null . |
Loads
the
given
config
documentation
file
(*.BCD
).
public
static
method
|
Load
([Owner]
Path path)
|
||
params
|
path
|
[not-null]
|
The file to load. |
See also:
TinmanModule.ConfigDocumentationLoads
the
given
config
documentation
file
(*.BCD
).
public
static
method
|
Load
([Owner]
IDataStream stream)
|
||
params
|
stream
|
[not-null]
|
The data to load. |
See also:
TinmanModule.ConfigDocumentationSerializes 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.DeserializeValidates the state of this object.
public
method
|
Validate
(Validator validator)
|
||
params
|
validator
|
[not-null]
|
The validator object. |
implements
|
IValidatable.Validate
|
The logger object of this class.
public
static
readonly
field
|
Logger
|
||
type
|
ILogger
|