Skip to content

Workspace

ClassAssetInventoryAssetInventory.Editor
public sealed class Workspace

Named collection of saved package and file searches that can be restored together.

public Workspace()

public Workspace(string name)

Creates a named workspace with an initially empty saved-search collection.

Parameters

Name Type
name System.String

public List<WorkspaceSearch> LoadSearches()

Deserializes the package and file searches stored with this workspace; malformed entries are skipped.

Returns

System.Collections.Generic.List{AssetInventory.WorkspaceSearch}

public override string ToString()

Returns

System.String

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

Returns

System.Int32

[Indexed]
[Collation("NOCASE")]
public string Name { get; set; }

Returns

System.String

[Ignore]
public List<WorkspaceSearch> Searches { get; set; }

Returns

System.Collections.Generic.List{AssetInventory.WorkspaceSearch}