Skip to content

PackageSearch.Options

ClassAssetInventoryAssetInventory.Editor
public class PackageSearch.Options

Controls package search text, source and compatibility filters, lifecycle and project state, price and date ranges, tags, metadata, sorting, and paging.

public string SearchPhrase

Returns

System.String

public int SelectedPackageListing

Returns

System.Int32

public int SelectedSRPs

Returns

System.Int32

public int SelectedDeprecation

Returns

System.Int32

public PackageSearch.MaintenanceOption SelectedMaintenance

Returns

AssetInventory.PackageSearch.MaintenanceOption

public bool OnlyInProject

Returns

System.Boolean

public bool SearchDescription

Returns

System.Boolean

public bool SearchGroupNames

Returns

System.Boolean

public int CurrentGrouping

Returns

System.Int32

public int SelectedPriceOption

Returns

System.Int32

public float SearchPrice

Returns

System.Single

public int SelectedPackageTag

Returns

System.Int32

public int SelectedPublisher

Returns

System.Int32

public int SelectedCategory

Returns

System.Int32

public bool IncludeCategorySubcategories

Returns

System.Boolean

public int SelectedUpdateDateOption

Returns

System.Int32

public DateTime? UpdateBeforeDate

Returns

System.Nullable{System.DateTime}

public DateTime? UpdateAfterDate

Returns

System.Nullable{System.DateTime}

public int SelectedPurchaseDateOption

Returns

System.Int32

public DateTime? PurchaseBeforeDate

Returns

System.Nullable{System.DateTime}

public DateTime? PurchaseAfterDate

Returns

System.Nullable{System.DateTime}

public int SelectedPackageSizeOption

Returns

System.Int32

public float PackageSizeMB

Returns

System.Single

public int SelectedUnityVersionOption

Returns

System.Int32

public int CurrentPage

Returns

System.Int32

public int MaxResults

Returns

System.Int32

public Dictionary<int, AssetInfo> UsedPackages

Returns

System.Collections.Generic.Dictionary{System.Int32,AssetInventory.AssetInfo}

public List<AssetInfo> AllAssets

Returns

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

public string[] TagNames

Returns

System.String[]

public List<Tag> Tags

Returns

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

public string[] PublisherNames

Returns

System.String[]

public string[] CategoryNames

Returns

System.String[]

public static PackageSearch.Options CreateDefault()

Creates a default Options object with all data loaded from the database.

Returns

AssetInventory.PackageSearch.Options

public static PackageSearch.Options FromSavedSearch(SavedPackageSearch savedSearch)

Creates an Options object from a SavedPackageSearch.

Parameters

Name Type
savedSearch AssetInventory.SavedPackageSearch

Returns

AssetInventory.PackageSearch.Options

public Options()