Click or drag to resize

Connection Class

Connection specifications for file access.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericConnection

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class Connection : IConnection, IExtensibleDataObject

The Connection type exposes the following members.

Constructors
  NameDescription
Public methodConnection
Initializes a new instance of the Connection class
Top
Properties
  NameDescription
Public propertyBridgeName
Name of the bridge to use for saving and/or reading
Public propertyExtensionData
Data from an extended DataContract not recognized here
Public propertyFilePath
FilePath including name for the file to store data in or read data from
Public propertyOptions
Options to the connection as key-value pairs. Keys are case-sensitive (do always lowercase or similar).
Top
Methods
  NameDescription
Public methodStatic memberBridgeFromExtension
Get a bridge name by using the extension of the file (without the dot).
Public methodClone
Clone this object. It returns a deep copy of the file path, but just transfers the dictionary.
Public methodStatic memberCreate(String)
Create a new connection based on the filename. The BridgeName will be the extension of the file (without the dot).
Public methodStatic memberCreate(IFilePath)
Create a new connection based on the filename. The BridgeName will be the extension of the file (without the dot).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsBridge
Return true if bridge is bridgeName
(Defined by ConnectionExtension.)
Top
See Also