Connection Class |
Namespace: DHI.Mike1D.Generic
public class Connection : IConnection, IExtensibleDataObject
The Connection type exposes the following members.
| Name | Description | |
|---|---|---|
| Connection | Initializes a new instance of the Connection class |
| Name | Description | |
|---|---|---|
| BridgeName |
Name of the bridge to use for saving and/or reading
| |
| ExtensionData |
Data from an extended DataContract not recognized here
| |
| FilePath |
FilePath including name for the file to store data in or read data from
| |
| Options |
Options to the connection as key-value pairs.
Keys are case-sensitive (do always lowercase or similar).
|
| Name | Description | |
|---|---|---|
| BridgeFromExtension |
Get a bridge name by using the extension of the file (without the dot).
| |
| Clone |
Clone this object. It returns a deep copy of
the file path, but just transfers the dictionary.
| |
| Create(String) |
Create a new connection based on the filename.
The BridgeName will be the extension of the file (without the dot).
| |
| Create(IFilePath) |
Create a new connection based on the filename.
The BridgeName will be the extension of the file (without the dot).
| |
| 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 a hash function for a particular type. (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.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| IsBridge |
Return true if bridge is bridgeName
(Defined by ConnectionExtension.) |