StructureDataXmlBridge Class |
Namespace: DHI.Mike1D.StructureModule
The StructureDataXmlBridge type exposes the following members.
Name | Description | |
---|---|---|
StructureDataXmlBridge |
Constructor
|
Name | Description | |
---|---|---|
Data |
DataAccess component being written to/from
(Inherited from GenericXmlBridgeTDataAccess.) | |
DataVersion |
Version of data being read. Only applicable when reading data.
(Inherited from GenericXmlBridgeTDataAccess.) | |
FilePath |
FilePath specifying the name of the persistance storage
(Overrides GenericXmlBridgeTDataAccessFilePath.) | |
KnownTypes |
List of known types used for reading/writing
(Inherited from GenericXmlBridgeTDataAccess.) | |
Surrogate |
Data contract surrogate to handle if certain types are to be serialized in special
ways and when deserialized object needs to be connected in a way that the serializer
can not do automatically. Per default this is set to a SerializerSurrogate object.
(Inherited from GenericXmlBridgeTDataAccess.) | |
XmlWriterSettings |
Get/Set XmlWriterSettings in case xml output needs custom formatting
This does not affect xml content, only formatting of the xml.
(Inherited from GenericXmlBridgeTDataAccess.) |
Name | Description | |
---|---|---|
CreateSerializer |
Create serializer
(Inherited from GenericXmlBridgeTDataAccess.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Open(IDiagnostics) |
Opens the file in FilePath and Read data from
xml file into the DataAccess component.
(Inherited from GenericXmlBridgeTDataAccess.)The xml must inlude data access versioning info. Input read using this method must be written using one of the Save methods. The FilePath must have been set to a valid xml file. | |
Open(Stream, IDiagnostics) |
Open data stored in stream
(Inherited from GenericXmlBridgeTDataAccess.)The xml must inlude data access versioning info. Input read using this method must be written using one of the Save methods. The FilePath must still have been set to a valid folder, to get relative paths in the setup right. | |
Open(XmlReader, IDiagnostics) |
Reads the DataAccess component from XmlReader.
(Inherited from GenericXmlBridgeTDataAccess.)The xml must inlude data access versioning info. Input read using this method must be written using one of the Save methods. | |
Save |
Saves the DataAccess component to file, using its connection
property.
(Inherited from GenericXmlBridgeTDataAccess.)The output inludes data access versioning info. Output stored using this method can be read again using the Open method. | |
Save(Stream) |
Saves the DataAccess component to file, using its connection
property.
(Inherited from GenericXmlBridgeTDataAccess.)The output inludes data access versioning info. Output stored using this method can be read again using the Open method. | |
Save(XmlWriter) |
Writes the DataAccess component to XmlWriter.
(Inherited from GenericXmlBridgeTDataAccess.)The output inludes data access versioning info. Output stored using this method can be read again using the Open method. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
_filePath |
FilePath specifying the name of the persistance storage
(Inherited from GenericXmlBridgeTDataAccess.) | |
_xmlWriterSettings |
XmlWriterSettings in case xml output needs custom formatting
This does not affect xml content, only formatting of the xml.
(Inherited from GenericXmlBridgeTDataAccess.) |