Workspace
public sealed class WorkspaceNamed collection of saved package and file searches that can be restored together.
Constructors
Section titled “Constructors”
Workspace()
Section titled “Workspace()”public Workspace()
Workspace(string)
Section titled “Workspace(string)”public Workspace(string name)Creates a named workspace with an initially empty saved-search collection.
Parameters
| Name | Type |
|---|---|
name |
System.String |
Methods
Section titled “Methods”
LoadSearches()
Section titled “LoadSearches()”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}
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][Collation("NOCASE")]public string Name { get; set; }Returns
System.String
Searches
Section titled “Searches”[Ignore]public List<WorkspaceSearch> Searches { get; set; }Returns
System.Collections.Generic.List{AssetInventory.WorkspaceSearch}