RelativeLocation
public sealed class RelativeLocationMaps a logical storage key and machine identifier to a normalized filesystem location.
Fields
Section titled “Fields”
otherLocations
Section titled “otherLocations”public List<string> otherLocationsReturns
System.Collections.Generic.List{System.String}
Constructors
Section titled “Constructors”
RelativeLocation()
Section titled “RelativeLocation()”public RelativeLocation()
RelativeLocation(string, string, string)
Section titled “RelativeLocation(string, string, string)”public RelativeLocation(string key, string system, string location)Creates a machine-specific storage mapping for the supplied logical key and normalized location.
Parameters
| Name | Type |
|---|---|
key |
System.String |
system |
System.String |
location |
System.String |
Methods
Section titled “Methods”
SetLocation(string)
Section titled “SetLocation(string)”public void SetLocation(string location)Stores a normalized forward-slash path, preserving a filesystem root separator; null clears the mapping.
Parameters
| Name | Type |
|---|---|
location |
System.String |
ToString()
Section titled “ToString()”public override string ToString()Returns
System.String
Properties
Section titled “Properties”
[PrimaryKey][AutoIncrement]public int Id { get; set; }Returns
System.Int32
[Indexed]public string Key { get; set; }Returns
System.String
System
Section titled “System”[Indexed]public string System { get; set; }Returns
System.String
Location
Section titled “Location”[Indexed]public string Location { get; set; }Returns
System.String