This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-WTSettingsPath { | |
# Determine if we are in WT | |
$Profile = $env:WT_PROFILE_ID | |
if (!$Profile) | |
{ | |
throw "WT Not available" | |
} | |
$SettingsPath = Get-Item "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal*\LocalState\" | Select-Object -ExpandProperty FullName | |
$SettingsPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Convert-ToCSharp | |
{ | |
param( | |
[Parameter(Mandatory)] | |
[System.String]$Path, | |
[Parameter(Mandatory)] | |
[System.String]$OutFile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class foo { | |
private _bar:boolean = false; | |
get bar():boolean { | |
return this._bar; | |
} | |
set bar(theBar:boolean) { | |
this._bar = theBar; | |
} | |
} |
NewerOlder