PackageSearch.Options
public class PackageSearch.OptionsControls package search text, source and compatibility filters, lifecycle and project state, price and date ranges, tags, metadata, sorting, and paging.
Fields
Section titled “Fields”
SearchPhrase
Section titled “SearchPhrase”public string SearchPhraseReturns
System.String
SelectedPackageListing
Section titled “SelectedPackageListing”public int SelectedPackageListingReturns
System.Int32
SelectedSRPs
Section titled “SelectedSRPs”public int SelectedSRPsReturns
System.Int32
SelectedDeprecation
Section titled “SelectedDeprecation”public int SelectedDeprecationReturns
System.Int32
SelectedMaintenance
Section titled “SelectedMaintenance”public PackageSearch.MaintenanceOption SelectedMaintenanceReturns
AssetInventory.PackageSearch.MaintenanceOption
OnlyInProject
Section titled “OnlyInProject”public bool OnlyInProjectReturns
System.Boolean
SearchDescription
Section titled “SearchDescription”public bool SearchDescriptionReturns
System.Boolean
SearchGroupNames
Section titled “SearchGroupNames”public bool SearchGroupNamesReturns
System.Boolean
CurrentGrouping
Section titled “CurrentGrouping”public int CurrentGroupingReturns
System.Int32
SelectedPriceOption
Section titled “SelectedPriceOption”public int SelectedPriceOptionReturns
System.Int32
SearchPrice
Section titled “SearchPrice”public float SearchPriceReturns
System.Single
SelectedPackageTag
Section titled “SelectedPackageTag”public int SelectedPackageTagReturns
System.Int32
SelectedPublisher
Section titled “SelectedPublisher”public int SelectedPublisherReturns
System.Int32
SelectedCategory
Section titled “SelectedCategory”public int SelectedCategoryReturns
System.Int32
IncludeCategorySubcategories
Section titled “IncludeCategorySubcategories”public bool IncludeCategorySubcategoriesReturns
System.Boolean
SelectedUpdateDateOption
Section titled “SelectedUpdateDateOption”public int SelectedUpdateDateOptionReturns
System.Int32
UpdateBeforeDate
Section titled “UpdateBeforeDate”public DateTime? UpdateBeforeDateReturns
System.Nullable{System.DateTime}
UpdateAfterDate
Section titled “UpdateAfterDate”public DateTime? UpdateAfterDateReturns
System.Nullable{System.DateTime}
SelectedPurchaseDateOption
Section titled “SelectedPurchaseDateOption”public int SelectedPurchaseDateOptionReturns
System.Int32
PurchaseBeforeDate
Section titled “PurchaseBeforeDate”public DateTime? PurchaseBeforeDateReturns
System.Nullable{System.DateTime}
PurchaseAfterDate
Section titled “PurchaseAfterDate”public DateTime? PurchaseAfterDateReturns
System.Nullable{System.DateTime}
SelectedPackageSizeOption
Section titled “SelectedPackageSizeOption”public int SelectedPackageSizeOptionReturns
System.Int32
PackageSizeMB
Section titled “PackageSizeMB”public float PackageSizeMBReturns
System.Single
SelectedUnityVersionOption
Section titled “SelectedUnityVersionOption”public int SelectedUnityVersionOptionReturns
System.Int32
CurrentPage
Section titled “CurrentPage”public int CurrentPageReturns
System.Int32
MaxResults
Section titled “MaxResults”public int MaxResultsReturns
System.Int32
UsedPackages
Section titled “UsedPackages”public Dictionary<int, AssetInfo> UsedPackagesReturns
System.Collections.Generic.Dictionary{System.Int32,AssetInventory.AssetInfo}
AllAssets
Section titled “AllAssets”public List<AssetInfo> AllAssetsReturns
System.Collections.Generic.List{AssetInventory.AssetInfo}
TagNames
Section titled “TagNames”public string[] TagNamesReturns
System.String[]
public List<Tag> TagsReturns
System.Collections.Generic.List{AssetInventory.Tag}
PublisherNames
Section titled “PublisherNames”public string[] PublisherNamesReturns
System.String[]
CategoryNames
Section titled “CategoryNames”public string[] CategoryNamesReturns
System.String[]
Methods
Section titled “Methods”
CreateDefault()
Section titled “CreateDefault()”public static PackageSearch.Options CreateDefault()Creates a default Options object with all data loaded from the database.
Returns
AssetInventory.PackageSearch.Options
FromSavedSearch(SavedPackageSearch)
Section titled “FromSavedSearch(SavedPackageSearch)”public static PackageSearch.Options FromSavedSearch(SavedPackageSearch savedSearch)Creates an Options object from a SavedPackageSearch.
Parameters
| Name | Type |
|---|---|
savedSearch |
AssetInventory.SavedPackageSearch |
Returns
AssetInventory.PackageSearch.Options
Constructors
Section titled “Constructors”
Options()
Section titled “Options()”public Options()