initial
This commit is contained in:
commit
baa0056244
352 changed files with 47928 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using Microsoft.PowerShell.EditorServices.Services.TextDocument;
|
||||
|
||||
namespace Microsoft.PowerShell.EditorServices.Test.Shared.SymbolDetails
|
||||
{
|
||||
public static class FindsDetailsForBuiltInCommandData
|
||||
{
|
||||
public static readonly ScriptRegion SourceDetails = new(
|
||||
file: TestUtilities.NormalizePath("SymbolDetails/SymbolDetails.ps1"),
|
||||
text: string.Empty,
|
||||
startLineNumber: 1,
|
||||
startColumnNumber: 10,
|
||||
startOffset: 0,
|
||||
endLineNumber: 0,
|
||||
endColumnNumber: 0,
|
||||
endOffset: 0);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
Expand-Archive -Path $TEMP
|
||||
# References Test uses this one
|
||||
Get-Process -Name 'powershell*'
|
||||
|
||||
<#
|
||||
.Synopsis
|
||||
Short description
|
||||
.DESCRIPTION
|
||||
Long description
|
||||
.EXAMPLE
|
||||
Example of how to use this cmdlet
|
||||
.EXAMPLE
|
||||
Another example of how to use this cmdlet
|
||||
#>
|
||||
function Get-Thing {
|
||||
[Alias()]
|
||||
[OutputType([int])]
|
||||
Param
|
||||
(
|
||||
# Param1 help description
|
||||
[Parameter(Mandatory = $true,
|
||||
ValueFromPipelineByPropertyName = $true,
|
||||
Position = 0)]
|
||||
$Name
|
||||
)
|
||||
|
||||
Begin
|
||||
{
|
||||
}
|
||||
Process
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
End
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Get-Thing -Name "test"
|
||||
Loading…
Add table
Add a link
Reference in a new issue