Skip to content

Commit

Permalink
Merge pull request #26 from theohbrothers/style/convert-indentation-t…
Browse files Browse the repository at this point in the history
…o-spaces

Style: Convert indentation to spaces
  • Loading branch information
leojonathanoh committed May 28, 2021
2 parents 2f38697 + 5177827 commit 66ab5da
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
10 changes: 5 additions & 5 deletions src/Position-ExplorerWindow/private/Position-ResizeWindow.ps1
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
function Position-ResizeWindow {
Param(
[Parameter(Mandatory=$True,Position=0)]
#[ValidateRange(0, [int]::MaxValue)]
#[ValidateRange(0, [int]::MaxValue)]
[int]$ProcessId
,
[Parameter(Mandatory=$True,Position=1)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
[int]$Left
,
[Parameter(Mandatory=$True,Position=2)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
[int]$Top
,
[Parameter(Mandatory=$True,Position=3)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
[int]$Width
,
[Parameter(Mandatory=$True,Position=4)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
#[ValidateRange([int]::MinValue, [int]::MaxValue)]
[int]$Height
)

Expand Down
44 changes: 22 additions & 22 deletions src/Position-ExplorerWindow/public/Position-ExplorerWindow.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function Position-ExplorerWindow {
################################################################################################################################
#>
[CmdletBinding()]
Param(
Param(
[Parameter(Mandatory=$False,Position=0)]
[switch]$ModeEasy
,
Expand All @@ -146,38 +146,38 @@ function Position-ExplorerWindow {
,
[Parameter(Mandatory=$False,Position=2)]
#[ValidateRange(640, [int]::MaxValue)]
[Int]$DestinationScreenWidth
,
[Int]$DestinationScreenWidth
,
[Parameter(Mandatory=$False,Position=3)]
#[ValidateRange(360, [int]::MaxValue)]
[Int]$DestinationScreenHeight
,
[Int]$DestinationScreenHeight
,
[Parameter(Mandatory=$False,Position=4)]
[ValidateSet('M', 'L', 'R', 'T', 'B')]
[String]$DestinationMonitor = 'M'
,
[String]$DestinationMonitor = 'M'
,
[Parameter(Mandatory=$False,Position=5)]
#[ValidateRange(1, [int]::MaxValue)]
[Int]$Rows = 4
,
#[ValidateRange(1, [int]::MaxValue)]
[Int]$Rows = 4
,
[Parameter(Mandatory=$False,Position=6)]
#[ValidateRange(1, [int]::MaxValue)]
#[ValidateRange(1, [int]::MaxValue)]
[Int]$Cols = 2
,
,
[Parameter(Mandatory=$False,Position=7)]
#[ValidateRange(0, [int]::MaxValue)]
[Int]$OffsetLeft = 0
,
#[ValidateRange(0, [int]::MaxValue)]
[Int]$OffsetLeft = 0
,
[Parameter(Mandatory=$False,Position=8)]
#[ValidateRange(0, [int]::MaxValue)]
[Int]$OffsetTop = 0
,
#[ValidateRange(0, [int]::MaxValue)]
[Int]$OffsetTop = 0
,
[Parameter(Mandatory=$False,Position=9)]
[ValidateSet('X', 'Y')]
[String]$Flow = 'Y'
,
[ValidateSet('X', 'Y')]
[String]$Flow = 'Y'
,
[Parameter(Mandatory=$False,Position=10)]
#[ValidateRange(0, 1)]
#[ValidateRange(0, 1)]
[Int]$DebugLevel = 0
)

Expand Down

0 comments on commit 66ab5da

Please sign in to comment.