Skip to content

RelativeLocation

ClassAssetInventoryAssetInventory.Editor
public sealed class RelativeLocation

Maps a logical storage key and machine identifier to a normalized filesystem location.

public List<string> otherLocations

Returns

System.Collections.Generic.List{System.String}

public RelativeLocation()

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

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
public override string ToString()

Returns

System.String

[PrimaryKey]
[AutoIncrement]
public int Id { get; set; }

Returns

System.Int32

[Indexed]
public string Key { get; set; }

Returns

System.String

[Indexed]
public string System { get; set; }

Returns

System.String

[Indexed]
public string Location { get; set; }

Returns

System.String