< Back
Search-NugetForType
Post
NAME Search-NugetForType
SYNOPSIS
Searches for Nuget packages by the name of a type.
SYNTAX
Search-NugetForType [-Search] <String> [-AllowPrerelease] [-CaseSensitive] [-LatestVersion] [-PageIndex <Int32>]
[<CommonParameters>]
DESCRIPTION
Searches Jet Brain's awesome Resharper API for Nuget packages by type name, and returns
a paged list of objects. Results are limited to 20 per page, so this function also returns
the total number of items, the total pages and the current page (if applicable).
PARAMETERS
-Search <String>
Type name to search, can be with full namespace.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AllowPrerelease [<SwitchParameter>]
Allow searching for prerelease nuget packages, false by default.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CaseSensitive [<SwitchParameter>]
Use case sensitive matching for type name, false by default.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-LatestVersion [<SwitchParameter>]
Search only latest versions of packages, true by default
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-PageIndex <Int32>
Search results page index, page size is 20 items.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Simple search for a specific type:
Search-NugetForType OpenStreetMapLayer
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Go to a specific page in the search results:
Search-NugetForType Date -PageIndex 8
RELATED LINKS
SYNOPSIS
Searches for Nuget packages by the name of a type.
SYNTAX
Search-NugetForType [-Search] <String> [-AllowPrerelease] [-CaseSensitive] [-LatestVersion] [-PageIndex <Int32>]
[<CommonParameters>]
DESCRIPTION
Searches Jet Brain's awesome Resharper API for Nuget packages by type name, and returns
a paged list of objects. Results are limited to 20 per page, so this function also returns
the total number of items, the total pages and the current page (if applicable).
PARAMETERS
-Search <String>
Type name to search, can be with full namespace.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AllowPrerelease [<SwitchParameter>]
Allow searching for prerelease nuget packages, false by default.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CaseSensitive [<SwitchParameter>]
Use case sensitive matching for type name, false by default.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-LatestVersion [<SwitchParameter>]
Search only latest versions of packages, true by default
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-PageIndex <Int32>
Search results page index, page size is 20 items.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Simple search for a specific type:
Search-NugetForType OpenStreetMapLayer
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Go to a specific page in the search results:
Search-NugetForType Date -PageIndex 8
RELATED LINKS