Open Stephanevg opened 5 years ago
On versio 0.7.4 code coverage is now: 60.99% (567 tests).
File Function Line Command
---- -------- ---- -------
PSHTML.psm1 ConfigurationDocument 22 $this.Load()
PSHTML.psm1 Load 39 $this.Path = $Path
PSHTML.psm1 Load 40 $this.Load()
PSHTML.psm1 AddAsset 68 $this.Assets += $Asset
PSHTML.psm1 LoadDataFromFile 72 if(!(test-Path $this.Path.FullName)){...
PSHTML.psm1 LoadDataFromFile 72 test-Path $this.Path.FullName
PSHTML.psm1 LoadDataFromFile 73 throw "No configuration file found at $($this.Path.FullName)"
PSHTML.psm1 LoadDataFromFile 73 $this.Path.FullName
PSHTML.psm1 LoadDataFromFile 75 $this.Load()
PSHTML.psm1 GetSettingType 94 Return $This.Type
PSHTML.psm1 LogSettings 112 $DefPath = $this.GetDefaultLogFolderPath()
PSHTML.psm1 LogSettings 113 $This.Path = $this.NewLogFile($DefPath)
PSHTML.psm1 LogSettings 124 $this.Path = $Object.Path
PSHTML.psm1 LogSettings 129 $this.Path = $Path
PSHTML.psm1 LogSettings 133 $this.Path = $this.NewLogFile($Path)
PSHTML.psm1 LogSettings 137 $this.Path = $Path
PSHTML.psm1 LogSettings 138 $this.MaxFiles = $Maxfiles
PSHTML.psm1 LogSettings 139 $this.MaxTotalSize = $MaxTotalSize
PSHTML.psm1 GetDefaultLogFolderPath 153 $p = "/tmp/pshtml/"
PSHTML.psm1 GeneralSettings 173 $this.Verbosity = $Verbosity
PSHTML.psm1 GeneralSettings 174 $This.Version = $Version
PSHTML.psm1 GeneralSettings 175 $this.SetSettingType("General")
PSHTML.psm1 AssetSettings 191 $this.Path = $Object.Path
PSHTML.psm1 AssetSettings 192 $This.DefaultPath = $false
PSHTML.psm1 IsPathDefault 206 return $this.DefaultPath
PSHTML.psm1 CreateSetting 216 $JsonData = ConvertFrom-Json (gc $Path -raw)
PSHTML.psm1 CreateSetting 216 gc $Path -raw
PSHTML.psm1 CreateSetting 217 If($JsonData){...
PSHTML.psm1 CreateSetting 218 $Keys = $JsonData.Psobject.Properties.GetEnumerator().Name
PSHTML.psm1 CreateSetting 220 $Keys
PSHTML.psm1 CreateSetting 222 $Key
PSHTML.psm1 CreateSetting 224 return [GeneralSettings]::new($JsonData.$Key)
PSHTML.psm1 CreateSetting 227 Return [LogSettings]::New($JsonData.$Key)
PSHTML.psm1 CreateSetting 230 REturn [AssetSettings]::New($JsonData.$Key)
PSHTML.psm1 CreateSetting 233 Throw "Configuration $_ Not implemented."
PSHTML.psm1 CreateSetting 237 Throw "Configuration $($PAth.FullName) Not implemented."
PSHTML.psm1 CreateSetting 237 $PAth.FullName
PSHTML.psm1 CreateSetting 239 throw "Config file not found"
PSHTML.psm1 CreateSetting 246 $JsonData = ConvertFrom-Json (gc $ConfigurationFilePath -raw)
PSHTML.psm1 CreateSetting 246 gc $ConfigurationFilePath -raw
PSHTML.psm1 CreateSetting 247 If($JsonData){...
PSHTML.psm1 CreateSetting 249 $RootModulePath = $ConfigurationFilePath.Directory.FullName
PSHTML.psm1 CreateSetting 250 $Name
PSHTML.psm1 CreateSetting 252 return [GeneralSettings]::new($JsonData.$Name)
PSHTML.psm1 CreateSetting 255 Return [LogSettings]::New($JsonData.$Name)
PSHTML.psm1 CreateSetting 259 Return [AssetSettings]::New($JsonData.$Name,$RootModulePath)
PSHTML.psm1 CreateSetting 262 Throw "Configuration $_ Not implemented."
PSHTML.psm1 CreateSetting 266 Throw "Configuration $($ConfigurationFilePath.FullName) Not implemented."
PSHTML.psm1 CreateSetting 266 $ConfigurationFilePath.FullName
PSHTML.psm1 CreateSetting 268 throw "Config file not found"
PSHTML.psm1 Parse 296 Throw "Configuration $_ Not implemented."
PSHTML.psm1 Parse 303 throw "Config file not found $($ConfigurationFilePath)- or config file is empty"
PSHTML.psm1 Parse 303 $ConfigurationFilePath
PSHTML.psm1 CreateAsset 314 $AssetPath.Extension
PSHTML.psm1 CreateAsset 316 Return [ScriptAsset]::new($AssetPath)
PSHTML.psm1 CreateAsset 320 Return [StyleAsset]::new($AssetPath)
PSHTML.psm1 CreateAsset 324 Throw "$($AssetPath.Extenion) is not a supported asset aaa type."
PSHTML.psm1 CreateAsset 324 $AssetPath.Extenion
PSHTML.psm1 CreateAsset 328 Throw "$($AssetPath.FullName) Is not a supported Asset Type."
PSHTML.psm1 CreateAsset 328 $AssetPath.FullName
PSHTML.psm1 GetAssetType 380 return $null
PSHTML.psm1 GetAssetType 384 return $null
PSHTML.psm1 Asset 409 $this.FolderPath = $Path
PSHTML.psm1 Asset 410 $this.Parse()
PSHTML.psm1 GetRelativePath 429 return $this.RelativePath
PSHTML.psm1 ToString 437 Throw "must be overwritten"
PSHTML.psm1 ScriptAsset 443 base([System.IO.DirectoryInfo]$Path)
PSHTML.psm1 StyleAsset 455 base([System.IO.DirectoryInfo]$Path)
PSHTML.psm1 StyleAsset 456 $this.Type = [AssetType]::Style
PSHTML.psm1 New-Logfile 470 Throw "Path parameter is mandatory."
PSHTML.psm1 New-Logfile 477 if($Path -is [System.IO.DirectoryInfo] -or $Path -is [System.IO.fileInfo]){...
PSHTML.psm1 New-Logfile 479 Return [LogSettings]::New($Path)
PSHTML.psm1 New-Logfile 481 Throw "Log file is of wrong type. Please specify a System.IO.DirectoryInfo or System.IO.fileIno type."
PSHTML.psm1 Get-ConfigurationDocument 503 [ConfigurationDocument]::New()
PSHTML.psm1 LogDocument 524 $ClassType = $this.GetType()
PSHTML.psm1 LogDocument 525 if($ClassType -eq [LogDocument]){...
PSHTML.psm1 LogDocument 526 throw "this class cannot be instanciated, it must be inherited."
PSHTML.psm1 writelog 530 throw("Must be overwritten!")
PSHTML.psm1 writelog 530 "Must be overwritten!"
PSHTML.psm1 LogFile 543 $CurrentInvocation = $MyInvocation.MyCommand.Definition
PSHTML.psm1 LogFile 544 $PSCommandPath = $PSCommandPath
PSHTML.psm1 LogFile 545 $location = (Get-Location).Path
PSHTML.psm1 LogFile 545 Get-Location
PSHTML.psm1 LogFile 549 $stack = Get-PSCallStack
PSHTML.psm1 LogFile 550 If($stack.Location -eq "<No File>"){...
PSHTML.psm1 LogFile 551 if(($stack | measure).Count -ge 2){...
PSHTML.psm1 LogFile 551 $stack
PSHTML.psm1 LogFile 551 measure
PSHTML.psm1 LogFile 552 $cp = (Get-PSCallStack)[-2].ScriptName
PSHTML.psm1 LogFile 552 Get-PSCallStack
PSHTML.psm1 LogFile 555 $cp = $PSCommandPath
PSHTML.psm1 LogFile 559 $cp = (Get-PSCallStack)[-1].ScriptName
PSHTML.psm1 LogFile 559 Get-PSCallStack
PSHTML.psm1 LogFile 563 $sr = $psScriptRoot
PSHTML.psm1 LogFile 565 $Extension = (get-item -Path $cp).Extension
PSHTML.psm1 LogFile 565 get-item -Path $cp
PSHTML.psm1 LogFile 567 $leaf = Split-Path $cp -Leaf
PSHTML.psm1 LogFile 569 $Name = $leaf.Replace($Extension,"")
PSHTML.psm1 LogFile 571 $timestamp = get-date -uformat '%Y%m%d-%T'
PSHTML.psm1 LogFile 572 $timestamp = $timestamp.Replace(':','')
PSHTML.psm1 LogFile 573 $FullFileName = $Name + '_' + $timestamp + '.log'
PSHTML.psm1 LogFile 574 $ScriptRoot = split-Path -Path $cp -Parent
PSHTML.psm1 LogFile 575 $LogFolderPath = Join-Path -Path $ScriptRoot -ChildPath 'logs'
PSHTML.psm1 LogFile 577 if (!(test-Path $LogFolderPath)){...
PSHTML.psm1 LogFile 577 test-Path $LogFolderPath
PSHTML.psm1 LogFile 578 mkdir $LogFolderPath
PSHTML.psm1 LogFile 580 $FullPath = Join-Path -Path $LogFolderPath -ChildPath $FullFileName
PSHTML.psm1 LogFile 582 $this.File = $FullPath
PSHTML.psm1 LogFile 583 $this.FileName = $FullFileName
PSHTML.psm1 LogFile 584 $this.Folder = $LogFolderPath
PSHTML.psm1 LogFile 594 $FullFileName = $this.CreateFileName()
PSHTML.psm1 LogFile 598 if (!(Test-Path $Path)){...
PSHTML.psm1 LogFile 598 Test-Path $Path
PSHTML.psm1 LogFile 599 $null = mkdir $Path
PSHTML.psm1 LogFile 602 $FullPath = Join-Path -Path $Path -ChildPath $FullFileName
PSHTML.psm1 LogFile 604 $this.File = $FullPath
PSHTML.psm1 LogFile 605 $this.FileName = $FullFileName
PSHTML.psm1 LogFile 606 $this.Folder = $Path
PSHTML.psm1 WriteLog 616 $Writer = [System.IO.StreamWriter]::($This.Path,$true)
PSHTML.psm1 WriteLog 616 $This.Path,$true
PSHTML.psm1 WriteLog 617 $Writer.write($Message.ToString())
PSHTML.psm1 CreateFileName 622 $cp = $PSCommandPath
PSHTML.psm1 CreateFileName 624 $sr = $psScriptRoot
PSHTML.psm1 CreateFileName 625 $Extension = (get-item -Path $cp).Extension
PSHTML.psm1 CreateFileName 625 get-item -Path $cp
PSHTML.psm1 CreateFileName 627 $leaf = Split-Path $cp -Leaf
PSHTML.psm1 CreateFileName 629 $Name = $leaf.Replace($Extension,"")
PSHTML.psm1 CreateFileName 631 $timestamp = get-date -uformat '%Y%m%d-%T'
PSHTML.psm1 CreateFileName 632 $timestamp = $timestamp.Replace(':','')
PSHTML.psm1 CreateFileName 633 $FullFileName = $Name + '_' + $timestamp + '.log'
PSHTML.psm1 CreateFileName 636 Return $FullFileName
PSHTML.psm1 ToString 640 Return "[{0}] Logs have written to: {1} " -f $this.Type.ToString(),$this.File
PSHTML.psm1 Logger 650 $this.Logfile = "$env:HOME/Logging.log"
PSHTML.psm1 Logger 655 $IOF.Directory.Create()
PSHTML.psm1 LogMessage 675 $this.Timestamp = get-date -uformat '%Y%m%d-%T'
PSHTML.psm1 LogMessage 678 $this.Message = $Message
PSHTML.psm1 LogMessage 679 $this.Timestamp = get-date -uformat '%Y%m%d-%T'
PSHTML.psm1 ToString 697 $eventType = "Warning"
PSHTML.psm1 ToString 698 $this.typeprefix = 'WARN '
PSHTML.psm1 ToString 702 $eventType = "Error"
PSHTML.psm1 ToString 703 $this.typeprefix = 'ERROR'
PSHTML.psm1 ToString 707 $eventType = "Information"
PSHTML.psm1 ToString 708 $this.typeprefix = 'INFO '
PSHTML.psm1 FormatMessage 721 $Ts = get-date -uformat '%Y%m%d-%T'
PSHTML.psm1 FormatMessage 722 If(!($MessageType)){...
PSHTML.psm1 FormatMessage 722 $MessageType
PSHTML.psm1 FormatMessage 723 $MessageType = "INFO "
PSHTML.psm1 FormatMessage 727 return "[{0}][{1}] -> {2}" -f $Ts,$MessageType,$msg
PSHTML.psm1 Clear-WhiteSpace 735 "$($Text -replace "(`t|`n|`r)"," " -replace "\s+"," ")".Trim()
PSHTML.psm1 Clear-WhiteSpace 735 $Text -replace "(`t|`n|`r)"," " -replace "\s+"," "
PSHTML.psm1 color 752 $this.r = $r
PSHTML.psm1 color 753 $this.g = $g
PSHTML.psm1 color 754 $this.b = $b
PSHTML.psm1 color 758 $this.r = $r
PSHTML.psm1 color 759 $this.g = $g
PSHTML.psm1 color 760 $this.b = $b
PSHTML.psm1 color 761 $this.a = $a
PSHTML.psm1 rgb 773 return "rgb({0},{1},{2})" -f $r,$g,$b
PSHTML.psm1 rgba 776 return "rgba({0},{1},{2},{3})" -f $r,$g,$b,$a
PSHTML.psm1 New-PSHTMLChartBarDataSet 920 $Datachart.label = $label
PSHTML.psm1 New-PSHTMLChartBarDataSet 924 $Datachart.xAxisID = $xAxisID
PSHTML.psm1 New-PSHTMLChartBarDataSet 928 $Datachart.yAxisID = $yAxisID
PSHTML.psm1 New-PSHTMLChartBarDataSet 932 $Datachart.backgroundColor = $backgroundColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 936 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 943 $Datachart.borderSkipped = $borderSkipped
PSHTML.psm1 New-PSHTMLChartBarDataSet 947 $Datachart.hoverBackgroundColor = $hoverBackgroundColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 951 $Datachart.hoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 954 $Datachart.HoverBorderWidth = $HoverBorderWidth
PSHTML.psm1 SetLineColor 1014 Write-verbose "[DatasetLine][SetLineColor] Start"
PSHTML.psm1 SetLineColor 1015 $this.borderColor = $Color
PSHTML.psm1 SetLineColor 1016 $this.backgroundColor = $Color
PSHTML.psm1 SetLineColor 1017 if($Fill){...
PSHTML.psm1 SetLineColor 1018 $this.SetLineBackGroundColor($Color)
PSHTML.psm1 SetLineColor 1020 Write-verbose "[DatasetLine][SetLineColor] End"
PSHTML.psm1 SetLineBackGroundColor 1024 Write-verbose "[DatasetLine][SetLineBackGroundColor] Start"
PSHTML.psm1 SetLineBackGroundColor 1026 if(!($this.borderColor)){...
PSHTML.psm1 SetLineBackGroundColor 1026 $this.borderColor
PSHTML.psm1 SetLineBackGroundColor 1027 $t = $this.borderColor
PSHTML.psm1 SetLineBackGroundColor 1028 $this.fill = $true
PSHTML.psm1 SetLineBackGroundColor 1029 $t = $t.replace("rgb","rgba")
PSHTML.psm1 SetLineBackGroundColor 1030 $backgroundC = $t.replace(")",",0.4)")
PSHTML.psm1 SetLineBackGroundColor 1031 $this.backgroundColor = $backgroundC
PSHTML.psm1 SetLineBackGroundColor 1033 Write-verbose "[DatasetLine][SetLineBackGroundColor] End"
PSHTML.psm1 SetLineBackGroundColor 1038 Write-verbose "[DatasetLine][SetLineBackGroundColor] Start"
PSHTML.psm1 SetLineBackGroundColor 1039 $this.fill = $true
PSHTML.psm1 SetLineBackGroundColor 1040 $t = $Color
PSHTML.psm1 SetLineBackGroundColor 1041 $t = $t.replace("rgb","rgba")
PSHTML.psm1 SetLineBackGroundColor 1042 $backgroundC = $t.replace(")",",0.4)")
PSHTML.psm1 SetLineBackGroundColor 1043 $this.backgroundColor = $backgroundC
PSHTML.psm1 SetLineBackGroundColor 1044 Write-verbose "[DatasetLine][SetLineBackGroundColor] End"
PSHTML.psm1 New-PSHTMLChartLineDataSet 1095 $datachart.borderDash = 10
PSHTML.psm1 New-PSHTMLChartLineDataSet 1099 $Datachart.label = $label
PSHTML.psm1 New-PSHTMLChartLineDataSet 1107 $Datachart.borderDash = $LineDash
PSHTML.psm1 New-PSHTMLChartLineDataSet 1111 $Datachart.borderDashOffSet = $LineDashOffSet
PSHTML.psm1 New-PSHTMLChartLineDataSet 1115 $DataChart.SetLineColor($LineColor,$false)
PSHTML.psm1 New-PSHTMLChartLineDataSet 1116 $Datachart.PointHoverBackgroundColor = $LineColor
PSHTML.psm1 New-PSHTMLChartLineDataSet 1125 $Datachart.SetLineBackGroundColor()
PSHTML.psm1 New-PSHTMLChartLineDataSet 1128 $Datachart.SetLineBackGroundColor($FillbackgroundColor)
PSHTML.psm1 New-PSHTMLChartLineDataSet 1138 $Datachart.lineTension = 0
PSHTML.psm1 AddBackGroundColor 1169 if($null -eq $this.backgroundColor){...
PSHTML.psm1 AddBackGroundColor 1170 $this.backgroundColor = @()
PSHTML.psm1 AddBackGroundColor 1172 $this.backgroundColor.Add($Color)
PSHTML.psm1 AddBackGroundColor 1177 $Colors
PSHTML.psm1 AddBackGroundColor 1178 $this.AddBackGroundColor($c)
PSHTML.psm1 AddHoverBackGroundColor 1191 $Colors
PSHTML.psm1 AddHoverBackGroundColor 1192 $this.AddHoverBackGroundColor($c)
PSHTML.psm1 New-PSHTMLChartPieDataSet 1237 $Datachart.label = $label
PSHTML.psm1 New-PSHTMLChartPieDataSet 1241 $Datachart.AddBackGroundColor($backgroundColor)
PSHTML.psm1 New-PSHTMLChartPieDataSet 1246 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartPieDataSet 1253 $Datachart.AddHoverBackGroundColor($hoverBackgroundColor)
PSHTML.psm1 New-PSHTMLChartPieDataSet 1260 $Datachart.HoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartPieDataSet 1264 $Datachart.HoverBorderWidth = $HoverborderWidth
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 1384 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 1391 $Datachart.AddHoverBackGroundColor($hoverBackgroundColor)
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 1398 $Datachart.hoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 1401 $Datachart.HoverBorderWidth = $HoverBorderWidth
PSHTML.psm1 1414 ""
PSHTML.psm1 BuildDefinition 1529 $This.GetDefinitionStart()
PSHTML.psm1 BuildDefinition 1530 $This.GetDefinitionBody()
PSHTML.psm1 BuildDefinition 1531 $This.GetDefinitionEnd()
PSHTML.psm1 New-PSHTMLChart 1681 Throw '-DataSet is required'
PSHTML.psm1 New-PSHTMLChart 1684 Throw '-Labels is required'
PSHTML.psm1 New-PSHTMLChart 1686 Throw '-CanvasID is required'
PSHTML.psm1 New-PSHTMLChart 1720 Throw "Graph type not supported. Please use a valid value from Enum [ChartType]"
PSHTML.psm1 New-PSHTMLChartDataSet 1894 $dataSet = [dataSet]::New($Data,$Name)
PSHTML.psm1 New-PSHTMLChartDataSet 1895 if($BackgroundColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 1897 $dataSet.backgroundColor = [Color]::$BackgroundColor
PSHTML.psm1 New-PSHTMLChartDataSet 1900 if($HoverBackgroundColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 1902 $dataSet.HoverBackgroundColor = [Color]::$HoverBackgroundColor
PSHTML.psm1 New-PSHTMLChartDataSet 1905 if($hoverBorderColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 1907 $dataSet.hoverBorderColor = [Color]::$hoverBorderColor
PSHTML.psm1 New-PSHTMLChartDataSet 1910 if($BorderColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 1912 $dataSet.BorderColor = [Color]::$BorderColor
PSHTML.psm1 New-PSHTMLChartDataSet 1915 if($yAxisID){...
PSHTML.psm1 New-PSHTMLChartDataSet 1917 $dataSet.yAxisID = $yAxisID
PSHTML.psm1 New-PSHTMLChartDataSet 1920 if($xAxisID){...
PSHTML.psm1 New-PSHTMLChartDataSet 1922 $dataSet.XAxisID = $xAxisID
PSHTML.psm1 New-PSHTMLChartDataSet 1925 if($borderSkipped){...
PSHTML.psm1 New-PSHTMLChartDataSet 1927 $dataSet.borderSkipped = $borderSkipped
PSHTML.psm1 New-PSHTMLChartDataSet 1930 return $dataset
PSHTML.psm1 Clear-WhiteSpace 1938 "$($Text -replace "(`t|`n|`r)"," " -replace "\s+"," ")".Trim()
PSHTML.psm1 Clear-WhiteSpace 1938 $Text -replace "(`t|`n|`r)"," " -replace "\s+"," "
PSHTML.psm1 Get-HTMLTemplate 1979 Throw "This function has been renamed to 'Get-PSHTMLTemplate' and will be removed in a future release .Either use the Alias 'include' or rename your function c...
PSHTML.psm1 Get-LogfilePath 1982 return $Script:Logfile
PSHTML.psm1 Get-PSHTMLTemplate 2029 $callstack = Get-PSCallStack
PSHTML.psm1 Get-PSHTMLTemplate 2030 $ScriptCaller = $callstack[-1].ScriptName
PSHTML.psm1 Get-PSHTMLTemplate 2031 $ScriptPath = Split-Path $ScriptCaller -Parent
PSHTML.psm1 Get-PSHTMLTemplate 2032 $TemplatesFolder = join-path $ScriptPath -ChildPath "Templates"
PSHTML.psm1 Get-PSHTMLTemplate 2034 if(!(test-path $TemplatesFolder)){...
PSHTML.psm1 Get-PSHTMLTemplate 2034 test-path $TemplatesFolder
PSHTML.psm1 Get-PSHTMLTemplate 2035 throw "The folder templates was not found at $($TemplatesFolder)"
PSHTML.psm1 Get-PSHTMLTemplate 2035 $TemplatesFolder
PSHTML.psm1 Get-PSHTMLTemplate 2037 if(!($Name.EndsWith(".ps1"))){...
PSHTML.psm1 Get-PSHTMLTemplate 2037 $Name.EndsWith(".ps1")
PSHTML.psm1 Get-PSHTMLTemplate 2038 $Name = $name + ".ps1"
PSHTML.psm1 Get-PSHTMLTemplate 2040 $Template = get-childItem -Path $templatesFolder -filter "$($Name)"
PSHTML.psm1 Get-PSHTMLTemplate 2040 $Name
PSHTML.psm1 Get-PSHTMLTemplate 2042 if ($template.count -ge 2){...
PSHTML.psm1 Get-PSHTMLTemplate 2043 throw "One or more files with the same template name $($name) where found, please be more specefic, or rename the templates"
PSHTML.psm1 Get-PSHTMLTemplate 2043 $name
PSHTML.psm1 Get-PSHTMLTemplate 2045 if(!($template)){...
PSHTML.psm1 Get-PSHTMLTemplate 2045 $template
PSHTML.psm1 Get-PSHTMLTemplate 2046 throw "No template file with the name '$($Name)' could be found in the templates folder."
PSHTML.psm1 Get-PSHTMLTemplate 2046 $Name
PSHTML.psm1 Get-PSHTMLTemplate 2049 if($template.count -eq 1){...
PSHTML.psm1 Get-PSHTMLTemplate 2050 write-verbose "Template file found at $($Template.FullName)"
PSHTML.psm1 Get-PSHTMLTemplate 2050 $Template.FullName
PSHTML.psm1 Get-PSHTMLTemplate 2053 $Rawcontent = Get-Content $Template.FullName -Raw
PSHTML.psm1 Get-PSHTMLTemplate 2054 $Content = [scriptBlock]::Create($Rawcontent).Invoke()
PSHTML.psm1 Get-PSHTMLTemplate 2055 return $content
PSHTML.psm1 GetCustomParameters 2112 write-verbose "[GetCustomParameters] No custom parameters passed."
PSHTML.psm1 Set-HtmlTag 2157 write-verbose "[Set-HTMLTAG] attribute $($entry) is a reserved value, and should not be passed in the Attributes HashTable"
PSHTML.psm1 Set-HtmlTag 2157 $entry
PSHTML.psm1 Set-HtmlTag 2175 write-verbose "[SET-HTMLTAG] Not found"
PSHTML.psm1 Write-Error 2234 if (-not [System.String]::IsNullOrEmpty($Message)) {...
PSHTML.psm1 Write-Error 2237 $Type = 'Error'
PSHTML.psm1 Write-Error 2238 $Msgobj = [LogMessage]::new($Message,$Type)
PSHTML.psm1 Write-Error 2239 $FormatedMessage = $Msgobj.ToString()
PSHTML.psm1 Write-Error 2240 Write-PSHTMLLog -message $FormatedMessage -type $Type
PSHTML.psm1 Write-Error 2243 $host.ui.WriteErrorLine($FormatedMessage)
PSHTML.psm1 Write-Warning 2300 if (-not [System.String]::IsNullOrEmpty($Message)) {...
PSHTML.psm1 Write-Warning 2303 $Type = 'Warning'
PSHTML.psm1 Write-Warning 2304 $Msgobj = [LogMessage]::new($Message,$Type)
PSHTML.psm1 Write-Warning 2305 $FormatedMessage = $Msgobj.ToString()
PSHTML.psm1 Write-Warning 2306 Write-PSHTMLLog -message $FormatedMessage -type $Type
PSHTML.psm1 Write-Warning 2307 Microsoft.PowerShell.Utility\Write-Warning -Message $FormatedMessage
PSHTML.psm1 br 3046 $tagname = "br"
PSHTML.psm1 br 3047 Set-htmltag -TagName $tagName -Parameters $PSBoundParameters -TagType void
PSHTML.psm1 button 3102 $tagname = "button"
PSHTML.psm1 button 3104 Set-htmltag -TagName $tagName -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 Form 4261 $PSBoundParameters.Target = "_self"
PSHTML.psm1 Get-PSHTMLAsset 4400 $Config.GetAsset($Name,$Type)
PSHTML.psm1 input 5206 $tagname = "input"
PSHTML.psm1 input 5207 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType Void
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5240 if($IsLinux){...
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5241 $Path = "$($home)/vscode/Snippets/"
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5241 $home
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5243 $Path = "$($env:APPDATA)\Code\User\Snippets"
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5243 $env:APPDATA
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5257 $Null = New-Item -Path $Path -ItemType Directory -Force
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5267 $Paras.Force = $true
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5279 Write-warning "$_"
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5283 write-warning "No snippts found in $SnippetsFolder"
PSHTML.psm1 map 5670 $tagname = "map"
PSHTML.psm1 map 5671 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 math 5762 $tagname = "math"
PSHTML.psm1 math 5766 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 Noscript 6083 $tagname = "noscript"
PSHTML.psm1 Noscript 6085 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 script 6646 $tagname = "script"
PSHTML.psm1 script 6648 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 textarea 7299 $tagname = "textarea"
PSHTML.psm1 textarea 7301 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 tfoot 7358 $tagname = "tfoot"
PSHTML.psm1 tfoot 7360 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 Th 7377 $tagname = "th"
PSHTML.psm1 Th 7379 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 Title 7422 $tagname = "title"
PSHTML.psm1 Title 7424 Set-HtmlTag -TagName $tagname -Parameters $PSBoundParameters -TagType nonVoid
PSHTML.psm1 Write-PSHTMLSymbol 7696 "©"
PSHTML.psm1 Write-PSHTMLSymbol 7699 "®"
PSHTML.psm1 Write-PSHTMLSymbol 7702 "€"
PSHTML.psm1 Write-PSHTMLSymbol 7705 "™"
PSHTML.psm1 Write-PSHTMLSymbol 7708 "←"
PSHTML.psm1 Write-PSHTMLSymbol 7711 "↑"
PSHTML.psm1 Write-PSHTMLSymbol 7714 "→"
PSHTML.psm1 Write-PSHTMLSymbol 7717 "↓"
PSHTML.psm1 Write-PSHTMLSymbol 7720 "♠"
PSHTML.psm1 Write-PSHTMLSymbol 7723 "♣"
PSHTML.psm1 Write-PSHTMLSymbol 7726 "♥"
PSHTML.psm1 Write-PSHTMLSymbol 7729 "♦"
PSHTML.psm1 Write-PSHTMLSymbol 7732 "∀"
PSHTML.psm1 Write-PSHTMLSymbol 7735 "∂"
PSHTML.psm1 Write-PSHTMLSymbol 7738 "∃"
PSHTML.psm1 Write-PSHTMLSymbol 7741 "∅"
PSHTML.psm1 Write-PSHTMLSymbol 7744 "∇"
PSHTML.psm1 Write-PSHTMLSymbol 7747 "∈"
PSHTML.psm1 Write-PSHTMLSymbol 7750 "∉"
PSHTML.psm1 Write-PSHTMLSymbol 7753 "∋"
PSHTML.psm1 Write-PSHTMLSymbol 7756 "∏"
PSHTML.psm1 Write-PSHTMLSymbol 7759 "∑"
PSHTML.psm1 Write-PSHTMLSymbol 7762 "Α"
PSHTML.psm1 Write-PSHTMLSymbol 7765 "Β"
PSHTML.psm1 Write-PSHTMLSymbol 7768 "Γ"
PSHTML.psm1 Write-PSHTMLSymbol 7771 "Δ"
PSHTML.psm1 Write-PSHTMLSymbol 7774 "Ε"
@LxLeChat C monté a 55% mec (+ 2%.. 🎉 )
C'est vraiment tout ce qui a avoir avec le 'color' la qui a foutue la merde en fait. (voir ci dessous).
On a deux possibilités:
1) on ecrit un test pour chaque cas (berk) 2) on essaye de voir si on peut refactorer le code pour qu'il soit plus facilement testable (mais on doit pas perdre de la fonctionalité bien sur).
Principalement, cette methode long et par methode static, ct pour rendre la possibilité de rajouter un argumentCompleter sur le Get-pshtmlColo -Name. Mais en plus la derniere fois que g tester, il commencais l'autocomplétition toujours par 'a' (impossible d'ecrire 'ora' puis tab pour esperer avoir Orange).
Tests completed in 1954.07s
Tests Passed: 803, Failed: 0, Skipped: 0, Pending: 0, Inconclusive: 0
Code coverage report:
Covered 55.00% of 1,669 analyzed Commands in 1 File.
Missed commands:
File Function Line Command
---- -------- ---- -------
PSHTML.psm1 Load 97 $this.Path = $Path
PSHTML.psm1 Load 98 $this.Load()
PSHTML.psm1 AddAsset 126 $this.Assets += $Asset
PSHTML.psm1 LoadDataFromFile 130 if(!(test-Path $this.Path.FullName)){...
PSHTML.psm1 LoadDataFromFile 130 test-Path $this.Path.FullName
PSHTML.psm1 LoadDataFromFile 131 throw "No configuration file found at $($this.Path.FullName)"
PSHTML.psm1 LoadDataFromFile 131 $this.Path.FullName
PSHTML.psm1 LoadDataFromFile 133 $this.Load()
PSHTML.psm1 GetSettingType 159 Return $This.Type
PSHTML.psm1 LogSettings 189 $this.Path = $Object.Path
PSHTML.psm1 GetDefaultLogFolderPath 219 $p = "/tmp/pshtml/"
PSHTML.psm1 GetDefaultLogFolderPath 222 $p = $env:TMPDIR
PSHTML.psm1 IsPathDefault 277 return $this.DefaultPath
PSHTML.psm1 CreateSetting 286 $JsonData = ConvertFrom-Json (gc $Path -raw)
PSHTML.psm1 CreateSetting 286 gc $Path -raw
PSHTML.psm1 CreateSetting 287 If($JsonData){...
PSHTML.psm1 CreateSetting 288 $Keys = $JsonData.Psobject.Properties.GetEnumerator().Name
PSHTML.psm1 CreateSetting 290 $Keys
PSHTML.psm1 CreateSetting 292 $Key
PSHTML.psm1 CreateSetting 294 return [GeneralSettings]::new($JsonData.$Key)
PSHTML.psm1 CreateSetting 297 Return [LogSettings]::New($JsonData.$Key)
PSHTML.psm1 CreateSetting 300 REturn [AssetSettings]::New($JsonData.$Key)
PSHTML.psm1 CreateSetting 303 Throw "Configuration $_ Not implemented."
PSHTML.psm1 CreateSetting 307 Throw "Configuration $($PAth.FullName) Not implemented."
PSHTML.psm1 CreateSetting 307 $PAth.FullName
PSHTML.psm1 CreateSetting 309 throw "Config file not found"
PSHTML.psm1 CreateSetting 316 $JsonData = ConvertFrom-Json (gc $ConfigurationFilePath -raw)
PSHTML.psm1 CreateSetting 316 gc $ConfigurationFilePath -raw
PSHTML.psm1 CreateSetting 317 If($JsonData){...
PSHTML.psm1 CreateSetting 319 $RootModulePath = $ConfigurationFilePath.Directory.FullName
PSHTML.psm1 CreateSetting 320 $Name
PSHTML.psm1 CreateSetting 322 return [GeneralSettings]::new($JsonData.$Name)
PSHTML.psm1 CreateSetting 325 Return [LogSettings]::New($JsonData.$Name)
PSHTML.psm1 CreateSetting 329 Return [AssetSettings]::New($JsonData.$Name,$RootModulePath)
PSHTML.psm1 CreateSetting 332 Throw "Configuration $_ Not implemented."
PSHTML.psm1 CreateSetting 336 Throw "Configuration $($ConfigurationFilePath.FullName) Not implemented."
PSHTML.psm1 CreateSetting 336 $ConfigurationFilePath.FullName
PSHTML.psm1 CreateSetting 338 throw "Config file not found"
PSHTML.psm1 Parse 366 Throw "Configuration $_ Not implemented."
PSHTML.psm1 Parse 373 throw "Config file not found $($ConfigurationFilePath)- or config file is empty"
PSHTML.psm1 Parse 373 $ConfigurationFilePath
PSHTML.psm1 CreateAsset 393 Return [AssetsFactory]::CreateAsset([System.Io.FileInfo]$It)
PSHTML.psm1 CreateAsset 396 If($It -is [System.Io.FileInfo]){...
PSHTML.psm1 CreateAsset 397 return $null
PSHTML.psm1 CreateAsset 401 Throw "Asset type could not be identified."
PSHTML.psm1 CreateAsset 419 $r += [CDNAsset]::new($AssetPath)
PSHTML.psm1 CreateAsset 423 Throw "$($AssetPath.Extenion) is not a supported asset type."
PSHTML.psm1 CreateAsset 423 $AssetPath.Extenion
PSHTML.psm1 GetAssetType 461 $File.Extension
PSHTML.psm1 GetAssetType 463 Return [AssetType]::Script
PSHTML.psm1 GetAssetType 467 Return [AssetType]::Style
PSHTML.psm1 GetAssetType 471 Return [AssetType]::cdn
PSHTML.psm1 GetAssetType 475 return $null
PSHTML.psm1 GetAssetType 479 return $null
PSHTML.psm1 GetAssetType 485 $null = $Asset -match "^.*(?'extension'.*\..{1,4}$)"
PSHTML.psm1 GetAssetType 487 $Matches.Extension
PSHTML.psm1 GetAssetType 489 Return [AssetType]::Script
PSHTML.psm1 GetAssetType 493 Return [AssetType]::Style
PSHTML.psm1 GetAssetType 497 Return [AssetType]::cdn
PSHTML.psm1 GetAssetType 501 return $null
PSHTML.psm1 GetAssetType 505 return $null
PSHTML.psm1 GetRelativePath 548 return $this.RelativePath
PSHTML.psm1 ToString 556 Throw "must be overwritten"
PSHTML.psm1 CDNAsset 599 $this.raw = Get-Content $filePath.FullName -Raw | ConvertFrom-Json
PSHTML.psm1 CDNAsset 599 $this.raw = Get-Content $filePath.FullName -Raw | ConvertFrom-Json
PSHTML.psm1 CDNAsset 600 $this.Type = [AssetType]::cdn
PSHTML.psm1 CDNAsset 601 $this.cdnType = [AssetsFactory]::GetAssetType($This.raw.source)
PSHTML.psm1 CDNAsset 602 $this.Name = $filePath.BaseName
PSHTML.psm1 CDNAsset 603 if($this.raw.integrity){...
PSHTML.psm1 CDNAsset 604 $this.Integrity = $this.raw.Integrity
PSHTML.psm1 CDNAsset 607 if($this.raw.CrossOrigin){...
PSHTML.psm1 CDNAsset 608 $This.CrossOrigin = $This.Raw.CrossOrigin
PSHTML.psm1 ToString 613 $t = ""
PSHTML.psm1 ToString 614 $p = ""
PSHTML.psm1 ToString 615 $full_CrossOrigin = ""
PSHTML.psm1 ToString 616 $full_Integrity = ""
PSHTML.psm1 ToString 617 $this.cdnType
PSHTML.psm1 ToString 620 $t = 'script'
PSHTML.psm1 ToString 621 $p = 'src'
PSHTML.psm1 ToString 626 $t = 'link'
PSHTML.psm1 ToString 627 $p = 'href'
PSHTML.psm1 ToString 632 if($this.CrossOrigin){...
PSHTML.psm1 ToString 633 $full_CrossOrigin = "crossorigin='{0}'" -f $this.CrossOrigin
PSHTML.psm1 ToString 636 If($This.Integrity){...
PSHTML.psm1 ToString 637 $full_Integrity = "integrity='{0}'" -f $this.Integrity
PSHTML.psm1 ToString 639 $S = "<{0} {1}='{2}' {3} {4}></{0}>" -f $t,$p,$this.raw.source,$full_CrossOrigin,$full_Integrity
PSHTML.psm1 ToString 640 Return $S
PSHTML.psm1 New-Logfile 648 Throw "Path parameter is mandatory."
PSHTML.psm1 New-Logfile 655 if($Path -is [System.IO.DirectoryInfo] -or $Path -is [System.IO.fileInfo]){...
PSHTML.psm1 New-Logfile 657 Return [LogSettings]::New($Path)
PSHTML.psm1 New-Logfile 659 Throw "Log file is of wrong type. Please specify a System.IO.DirectoryInfo or System.IO.fileIno type."
PSHTML.psm1 Get-ConfigurationDocument 681 [ConfigurationDocument]::New()
PSHTML.psm1 writelog 708 throw("Must be overwritten!")
PSHTML.psm1 writelog 708 "Must be overwritten!"
PSHTML.psm1 Logger 837 $IOF.Directory.Create()
PSHTML.psm1 ToString 884 $eventType = "Error"
PSHTML.psm1 ToString 885 $this.typeprefix = 'ERROR'
PSHTML.psm1 ToString 889 $eventType = "Information"
PSHTML.psm1 ToString 890 $this.typeprefix = 'INFO '
PSHTML.psm1 FormatMessage 905 $MessageType = "INFO "
PSHTML.psm1 Clear-WhiteSpace 917 "$($Text -replace "(`t|`n|`r)"," " -replace "\s+"," ")".Trim()
PSHTML.psm1 Clear-WhiteSpace 917 $Text -replace "(`t|`n|`r)"," " -replace "\s+"," "
PSHTML.psm1 color 937 $this.r = $r
PSHTML.psm1 color 938 $this.g = $g
PSHTML.psm1 color 939 $this.b = $b
PSHTML.psm1 color 943 $this.r = $r
PSHTML.psm1 color 944 $this.g = $g
PSHTML.psm1 color 945 $this.b = $b
PSHTML.psm1 color 946 $this.a = $a
PSHTML.psm1 965 "r" = 240
PSHTML.psm1 965 "g" = 248
PSHTML.psm1 965 "b" = 255
PSHTML.psm1 966 "r" = 250
PSHTML.psm1 966 "g" = 235
PSHTML.psm1 966 "b" = 215
PSHTML.psm1 967 "r" = 0
PSHTML.psm1 967 "g" = 255
PSHTML.psm1 967 "b" = 255
PSHTML.psm1 968 "r" = 127
PSHTML.psm1 968 "g" = 255
PSHTML.psm1 968 "b" = 212
PSHTML.psm1 969 "r" = 240
PSHTML.psm1 969 "g" = 255
PSHTML.psm1 969 "b" = 255
PSHTML.psm1 970 "r" = 245
PSHTML.psm1 970 "g" = 245
PSHTML.psm1 970 "b" = 220
PSHTML.psm1 971 "r" = 255
PSHTML.psm1 971 "g" = 228
PSHTML.psm1 971 "b" = 196
PSHTML.psm1 972 "r" = 0
PSHTML.psm1 972 "g" = 0
PSHTML.psm1 972 "b" = 0
PSHTML.psm1 973 "r" = 255
PSHTML.psm1 973 "g" = 235
PSHTML.psm1 973 "b" = 205
PSHTML.psm1 974 "r" = 0
PSHTML.psm1 974 "g" = 0
PSHTML.psm1 974 "b" = 255
PSHTML.psm1 975 "r" = 138
PSHTML.psm1 975 "g" = 43
PSHTML.psm1 975 "b" = 226
PSHTML.psm1 976 "r" = 165
PSHTML.psm1 976 "g" = 42
PSHTML.psm1 976 "b" = 42
PSHTML.psm1 977 "r" = 222
PSHTML.psm1 977 "g" = 184
PSHTML.psm1 977 "b" = 135
PSHTML.psm1 978 "r" = 95
PSHTML.psm1 978 "g" = 158
PSHTML.psm1 978 "b" = 160
PSHTML.psm1 979 "r" = 127
PSHTML.psm1 979 "g" = 255
PSHTML.psm1 979 "b" = 0
PSHTML.psm1 980 "r" = 210
PSHTML.psm1 980 "g" = 105
PSHTML.psm1 980 "b" = 30
PSHTML.psm1 981 "r" = 255
PSHTML.psm1 981 "g" = 127
PSHTML.psm1 981 "b" = 80
PSHTML.psm1 982 "r" = 100
PSHTML.psm1 982 "g" = 149
PSHTML.psm1 982 "b" = 237
PSHTML.psm1 983 "r" = 255
PSHTML.psm1 983 "g" = 248
PSHTML.psm1 983 "b" = 220
PSHTML.psm1 984 "r" = 220
PSHTML.psm1 984 "g" = 20
PSHTML.psm1 984 "b" = 60
PSHTML.psm1 985 "r" = 0
PSHTML.psm1 985 "g" = 255
PSHTML.psm1 985 "b" = 255
PSHTML.psm1 986 "r" = 0
PSHTML.psm1 986 "g" = 0
PSHTML.psm1 986 "b" = 139
PSHTML.psm1 987 "r" = 0
PSHTML.psm1 987 "g" = 139
PSHTML.psm1 987 "b" = 139
PSHTML.psm1 988 "r" = 184
PSHTML.psm1 988 "g" = 134
PSHTML.psm1 988 "b" = 11
PSHTML.psm1 989 "r" = 169
PSHTML.psm1 989 "g" = 169
PSHTML.psm1 989 "b" = 169
PSHTML.psm1 990 "r" = 0
PSHTML.psm1 990 "g" = 100
PSHTML.psm1 990 "b" = 0
PSHTML.psm1 991 "r" = 169
PSHTML.psm1 991 "g" = 169
PSHTML.psm1 991 "b" = 169
PSHTML.psm1 992 "r" = 189
PSHTML.psm1 992 "g" = 183
PSHTML.psm1 992 "b" = 107
PSHTML.psm1 993 "r" = 139
PSHTML.psm1 993 "g" = 0
PSHTML.psm1 993 "b" = 139
PSHTML.psm1 994 "r" = 85
PSHTML.psm1 994 "g" = 107
PSHTML.psm1 994 "b" = 47
PSHTML.psm1 995 "r" = 255
PSHTML.psm1 995 "g" = 140
PSHTML.psm1 995 "b" = 0
PSHTML.psm1 996 "r" = 153
PSHTML.psm1 996 "g" = 50
PSHTML.psm1 996 "b" = 204
PSHTML.psm1 997 "r" = 139
PSHTML.psm1 997 "g" = 0
PSHTML.psm1 997 "b" = 0
PSHTML.psm1 998 "r" = 233
PSHTML.psm1 998 "g" = 150
PSHTML.psm1 998 "b" = 122
PSHTML.psm1 999 "r" = 143
PSHTML.psm1 999 "g" = 188
PSHTML.psm1 999 "b" = 143
PSHTML.psm1 1000 "r" = 72
PSHTML.psm1 1000 "g" = 61
PSHTML.psm1 1000 "b" = 139
PSHTML.psm1 1001 "r" = 47
PSHTML.psm1 1001 "g" = 79
PSHTML.psm1 1001 "b" = 79
PSHTML.psm1 1002 "r" = 47
PSHTML.psm1 1002 "g" = 79
PSHTML.psm1 1002 "b" = 79
PSHTML.psm1 1003 "r" = 0
PSHTML.psm1 1003 "g" = 206
PSHTML.psm1 1003 "b" = 209
PSHTML.psm1 1004 "r" = 148
PSHTML.psm1 1004 "g" = 0
PSHTML.psm1 1004 "b" = 211
PSHTML.psm1 1005 "r" = 255
PSHTML.psm1 1005 "g" = 20
PSHTML.psm1 1005 "b" = 147
PSHTML.psm1 1006 "r" = 0
PSHTML.psm1 1006 "g" = 191
PSHTML.psm1 1006 "b" = 255
PSHTML.psm1 1007 "r" = 105
PSHTML.psm1 1007 "g" = 105
PSHTML.psm1 1007 "b" = 105
PSHTML.psm1 1008 "r" = 105
PSHTML.psm1 1008 "g" = 105
PSHTML.psm1 1008 "b" = 105
PSHTML.psm1 1009 "r" = 30
PSHTML.psm1 1009 "g" = 144
PSHTML.psm1 1009 "b" = 255
PSHTML.psm1 1010 "r" = 178
PSHTML.psm1 1010 "g" = 34
PSHTML.psm1 1010 "b" = 34
PSHTML.psm1 1011 "r" = 255
PSHTML.psm1 1011 "g" = 250
PSHTML.psm1 1011 "b" = 240
PSHTML.psm1 1012 "r" = 34
PSHTML.psm1 1012 "g" = 139
PSHTML.psm1 1012 "b" = 34
PSHTML.psm1 1013 "r" = 255
PSHTML.psm1 1013 "g" = 0
PSHTML.psm1 1013 "b" = 255
PSHTML.psm1 1014 "r" = 220
PSHTML.psm1 1014 "g" = 220
PSHTML.psm1 1014 "b" = 220
PSHTML.psm1 1015 "r" = 248
PSHTML.psm1 1015 "g" = 248
PSHTML.psm1 1015 "b" = 255
PSHTML.psm1 1016 "r" = 255
PSHTML.psm1 1016 "g" = 215
PSHTML.psm1 1016 "b" = 0
PSHTML.psm1 1017 "r" = 218
PSHTML.psm1 1017 "g" = 165
PSHTML.psm1 1017 "b" = 32
PSHTML.psm1 1018 "r" = 128
PSHTML.psm1 1018 "g" = 128
PSHTML.psm1 1018 "b" = 128
PSHTML.psm1 1019 "r" = 0
PSHTML.psm1 1019 "g" = 128
PSHTML.psm1 1019 "b" = 0
PSHTML.psm1 1020 "r" = 173
PSHTML.psm1 1020 "g" = 255
PSHTML.psm1 1020 "b" = 47
PSHTML.psm1 1021 "r" = 128
PSHTML.psm1 1021 "g" = 128
PSHTML.psm1 1021 "b" = 128
PSHTML.psm1 1022 "r" = 240
PSHTML.psm1 1022 "g" = 255
PSHTML.psm1 1022 "b" = 240
PSHTML.psm1 1023 "r" = 255
PSHTML.psm1 1023 "g" = 105
PSHTML.psm1 1023 "b" = 180
PSHTML.psm1 1024 "r" = 205
PSHTML.psm1 1024 "g" = 92
PSHTML.psm1 1024 "b" = 92
PSHTML.psm1 1025 "r" = 75
PSHTML.psm1 1025 "g" = 0
PSHTML.psm1 1025 "b" = 130
PSHTML.psm1 1026 "r" = 255
PSHTML.psm1 1026 "g" = 255
PSHTML.psm1 1026 "b" = 240
PSHTML.psm1 1027 "r" = 240
PSHTML.psm1 1027 "g" = 230
PSHTML.psm1 1027 "b" = 140
PSHTML.psm1 1028 "r" = 230
PSHTML.psm1 1028 "g" = 230
PSHTML.psm1 1028 "b" = 250
PSHTML.psm1 1029 "r" = 255
PSHTML.psm1 1029 "g" = 240
PSHTML.psm1 1029 "b" = 245
PSHTML.psm1 1030 "r" = 124
PSHTML.psm1 1030 "g" = 252
PSHTML.psm1 1030 "b" = 0
PSHTML.psm1 1031 "r" = 255
PSHTML.psm1 1031 "g" = 250
PSHTML.psm1 1031 "b" = 205
PSHTML.psm1 1032 "r" = 173
PSHTML.psm1 1032 "g" = 216
PSHTML.psm1 1032 "b" = 230
PSHTML.psm1 1033 "r" = 240
PSHTML.psm1 1033 "g" = 128
PSHTML.psm1 1033 "b" = 128
PSHTML.psm1 1034 "r" = 224
PSHTML.psm1 1034 "g" = 255
PSHTML.psm1 1034 "b" = 255
PSHTML.psm1 1035 "r" = 250
PSHTML.psm1 1035 "g" = 250
PSHTML.psm1 1035 "b" = 210
PSHTML.psm1 1036 "r" = 211
PSHTML.psm1 1036 "g" = 211
PSHTML.psm1 1036 "b" = 211
PSHTML.psm1 1037 "r" = 144
PSHTML.psm1 1037 "g" = 238
PSHTML.psm1 1037 "b" = 144
PSHTML.psm1 1038 "r" = 211
PSHTML.psm1 1038 "g" = 211
PSHTML.psm1 1038 "b" = 211
PSHTML.psm1 1039 "r" = 255
PSHTML.psm1 1039 "g" = 182
PSHTML.psm1 1039 "b" = 193
PSHTML.psm1 1040 "r" = 255
PSHTML.psm1 1040 "g" = 160
PSHTML.psm1 1040 "b" = 122
PSHTML.psm1 1041 "r" = 32
PSHTML.psm1 1041 "g" = 178
PSHTML.psm1 1041 "b" = 170
PSHTML.psm1 1042 "r" = 135
PSHTML.psm1 1042 "g" = 206
PSHTML.psm1 1042 "b" = 250
PSHTML.psm1 1043 "r" = 119
PSHTML.psm1 1043 "g" = 136
PSHTML.psm1 1043 "b" = 153
PSHTML.psm1 1044 "r" = 119
PSHTML.psm1 1044 "g" = 136
PSHTML.psm1 1044 "b" = 153
PSHTML.psm1 1045 "r" = 176
PSHTML.psm1 1045 "g" = 196
PSHTML.psm1 1045 "b" = 222
PSHTML.psm1 1046 "r" = 255
PSHTML.psm1 1046 "g" = 255
PSHTML.psm1 1046 "b" = 224
PSHTML.psm1 1047 "r" = 0
PSHTML.psm1 1047 "g" = 255
PSHTML.psm1 1047 "b" = 0
PSHTML.psm1 1048 "r" = 50
PSHTML.psm1 1048 "g" = 205
PSHTML.psm1 1048 "b" = 50
PSHTML.psm1 1049 "r" = 250
PSHTML.psm1 1049 "g" = 240
PSHTML.psm1 1049 "b" = 230
PSHTML.psm1 1050 "r" = 255
PSHTML.psm1 1050 "g" = 0
PSHTML.psm1 1050 "b" = 255
PSHTML.psm1 1051 "r" = 128
PSHTML.psm1 1051 "g" = 0
PSHTML.psm1 1051 "b" = 0
PSHTML.psm1 1052 "r" = 102
PSHTML.psm1 1052 "g" = 205
PSHTML.psm1 1052 "b" = 170
PSHTML.psm1 1053 "r" = 0
PSHTML.psm1 1053 "g" = 0
PSHTML.psm1 1053 "b" = 205
PSHTML.psm1 1054 "r" = 186
PSHTML.psm1 1054 "g" = 85
PSHTML.psm1 1054 "b" = 211
PSHTML.psm1 1055 "r" = 147
PSHTML.psm1 1055 "g" = 112
PSHTML.psm1 1055 "b" = 219
PSHTML.psm1 1056 "r" = 60
PSHTML.psm1 1056 "g" = 179
PSHTML.psm1 1056 "b" = 113
PSHTML.psm1 1057 "r" = 123
PSHTML.psm1 1057 "g" = 104
PSHTML.psm1 1057 "b" = 238
PSHTML.psm1 1058 "r" = 0
PSHTML.psm1 1058 "g" = 250
PSHTML.psm1 1058 "b" = 154
PSHTML.psm1 1059 "r" = 72
PSHTML.psm1 1059 "g" = 209
PSHTML.psm1 1059 "b" = 204
PSHTML.psm1 1060 "r" = 199
PSHTML.psm1 1060 "g" = 21
PSHTML.psm1 1060 "b" = 133
PSHTML.psm1 1061 "r" = 25
PSHTML.psm1 1061 "g" = 25
PSHTML.psm1 1061 "b" = 112
PSHTML.psm1 1062 "r" = 245
PSHTML.psm1 1062 "g" = 255
PSHTML.psm1 1062 "b" = 250
PSHTML.psm1 1063 "r" = 255
PSHTML.psm1 1063 "g" = 228
PSHTML.psm1 1063 "b" = 225
PSHTML.psm1 1064 "r" = 255
PSHTML.psm1 1064 "g" = 228
PSHTML.psm1 1064 "b" = 181
PSHTML.psm1 1065 "r" = 255
PSHTML.psm1 1065 "g" = 222
PSHTML.psm1 1065 "b" = 173
PSHTML.psm1 1066 "r" = 0
PSHTML.psm1 1066 "g" = 0
PSHTML.psm1 1066 "b" = 128
PSHTML.psm1 1067 "r" = 253
PSHTML.psm1 1067 "g" = 245
PSHTML.psm1 1067 "b" = 230
PSHTML.psm1 1068 "r" = 128
PSHTML.psm1 1068 "g" = 128
PSHTML.psm1 1068 "b" = 0
PSHTML.psm1 1069 "r" = 107
PSHTML.psm1 1069 "g" = 142
PSHTML.psm1 1069 "b" = 35
PSHTML.psm1 1070 "r" = 255
PSHTML.psm1 1070 "g" = 165
PSHTML.psm1 1070 "b" = 0
PSHTML.psm1 1071 "r" = 255
PSHTML.psm1 1071 "g" = 69
PSHTML.psm1 1071 "b" = 0
PSHTML.psm1 1072 "r" = 218
PSHTML.psm1 1072 "g" = 112
PSHTML.psm1 1072 "b" = 214
PSHTML.psm1 1073 "r" = 238
PSHTML.psm1 1073 "g" = 232
PSHTML.psm1 1073 "b" = 170
PSHTML.psm1 1074 "r" = 152
PSHTML.psm1 1074 "g" = 251
PSHTML.psm1 1074 "b" = 152
PSHTML.psm1 1075 "r" = 175
PSHTML.psm1 1075 "g" = 238
PSHTML.psm1 1075 "b" = 238
PSHTML.psm1 1076 "r" = 219
PSHTML.psm1 1076 "g" = 112
PSHTML.psm1 1076 "b" = 147
PSHTML.psm1 1077 "r" = 255
PSHTML.psm1 1077 "g" = 239
PSHTML.psm1 1077 "b" = 213
PSHTML.psm1 1078 "r" = 255
PSHTML.psm1 1078 "g" = 218
PSHTML.psm1 1078 "b" = 185
PSHTML.psm1 1079 "r" = 205
PSHTML.psm1 1079 "g" = 133
PSHTML.psm1 1079 "b" = 63
PSHTML.psm1 1080 "r" = 255
PSHTML.psm1 1080 "g" = 192
PSHTML.psm1 1080 "b" = 203
PSHTML.psm1 1081 "r" = 221
PSHTML.psm1 1081 "g" = 160
PSHTML.psm1 1081 "b" = 221
PSHTML.psm1 1082 "r" = 176
PSHTML.psm1 1082 "g" = 224
PSHTML.psm1 1082 "b" = 230
PSHTML.psm1 1083 "r" = 128
PSHTML.psm1 1083 "g" = 0
PSHTML.psm1 1083 "b" = 128
PSHTML.psm1 1084 "r" = 255
PSHTML.psm1 1084 "g" = 0
PSHTML.psm1 1084 "b" = 0
PSHTML.psm1 1085 "r" = 188
PSHTML.psm1 1085 "g" = 143
PSHTML.psm1 1085 "b" = 143
PSHTML.psm1 1086 "r" = 65
PSHTML.psm1 1086 "g" = 105
PSHTML.psm1 1086 "b" = 225
PSHTML.psm1 1087 "r" = 139
PSHTML.psm1 1087 "g" = 69
PSHTML.psm1 1087 "b" = 19
PSHTML.psm1 1088 "r" = 250
PSHTML.psm1 1088 "g" = 128
PSHTML.psm1 1088 "b" = 114
PSHTML.psm1 1089 "r" = 244
PSHTML.psm1 1089 "g" = 164
PSHTML.psm1 1089 "b" = 96
PSHTML.psm1 1090 "r" = 46
PSHTML.psm1 1090 "g" = 139
PSHTML.psm1 1090 "b" = 87
PSHTML.psm1 1091 "r" = 255
PSHTML.psm1 1091 "g" = 245
PSHTML.psm1 1091 "b" = 238
PSHTML.psm1 1092 "r" = 160
PSHTML.psm1 1092 "g" = 82
PSHTML.psm1 1092 "b" = 45
PSHTML.psm1 1093 "r" = 192
PSHTML.psm1 1093 "g" = 192
PSHTML.psm1 1093 "b" = 192
PSHTML.psm1 1094 "r" = 135
PSHTML.psm1 1094 "g" = 206
PSHTML.psm1 1094 "b" = 235
PSHTML.psm1 1095 "r" = 106
PSHTML.psm1 1095 "g" = 90
PSHTML.psm1 1095 "b" = 205
PSHTML.psm1 1096 "r" = 112
PSHTML.psm1 1096 "g" = 128
PSHTML.psm1 1096 "b" = 144
PSHTML.psm1 1097 "r" = 112
PSHTML.psm1 1097 "g" = 128
PSHTML.psm1 1097 "b" = 144
PSHTML.psm1 1098 "r" = 255
PSHTML.psm1 1098 "g" = 250
PSHTML.psm1 1098 "b" = 250
PSHTML.psm1 1099 "r" = 0
PSHTML.psm1 1099 "g" = 255
PSHTML.psm1 1099 "b" = 127
PSHTML.psm1 1100 "r" = 70
PSHTML.psm1 1100 "g" = 130
PSHTML.psm1 1100 "b" = 180
PSHTML.psm1 1101 "r" = 210
PSHTML.psm1 1101 "g" = 180
PSHTML.psm1 1101 "b" = 140
PSHTML.psm1 1102 "r" = 0
PSHTML.psm1 1102 "g" = 128
PSHTML.psm1 1102 "b" = 128
PSHTML.psm1 1103 "r" = 216
PSHTML.psm1 1103 "g" = 191
PSHTML.psm1 1103 "b" = 216
PSHTML.psm1 1104 "r" = 255
PSHTML.psm1 1104 "g" = 99
PSHTML.psm1 1104 "b" = 71
PSHTML.psm1 1105 "r" = 64
PSHTML.psm1 1105 "g" = 224
PSHTML.psm1 1105 "b" = 208
PSHTML.psm1 1106 "r" = 238
PSHTML.psm1 1106 "g" = 130
PSHTML.psm1 1106 "b" = 238
PSHTML.psm1 1107 "r" = 245
PSHTML.psm1 1107 "g" = 222
PSHTML.psm1 1107 "b" = 179
PSHTML.psm1 1108 "r" = 255
PSHTML.psm1 1108 "g" = 255
PSHTML.psm1 1108 "b" = 255
PSHTML.psm1 1109 "r" = 245
PSHTML.psm1 1109 "g" = 245
PSHTML.psm1 1109 "b" = 245
PSHTML.psm1 1110 "r" = 255
PSHTML.psm1 1110 "g" = 255
PSHTML.psm1 1110 "b" = 0
PSHTML.psm1 1111 "r" = 154
PSHTML.psm1 1111 "g" = 205
PSHTML.psm1 1111 "b" = 50
PSHTML.psm1 1261 [Color].GetProperties()
PSHTML.psm1 1261 Where-Object { $_.PropertyType.ToString() -EQ 'System.String'}
PSHTML.psm1 1261 $_.PropertyType.ToString() -EQ 'System.String'
PSHTML.psm1 1261 Select -Expand Name
PSHTML.psm1 hslcalc 1285 $s = ($m.Maximum - $m.Minimum)/(2 - $m.Maximum - $m.Minimum)
PSHTML.psm1 hslcalc 1285 $m.Maximum - $m.Minimum
PSHTML.psm1 hslcalc 1285 2 - $m.Maximum - $m.Minimum
PSHTML.psm1 hslcalc 1307 $h+= 360
PSHTML.psm1 hslcalc 1315 return "hsla({0},{1:p0},{2:p0},{3})" -f [Math]::Round($h), [Math]::Round($s,2), $l, $a
PSHTML.psm1 hsla 1335 return [Color]::hslcalc($r, $g, $b, $a)
PSHTML.psm1 rgb 1339 return "rgb({0},{1},{2})" -f $r,$g,$b
PSHTML.psm1 rgba 1342 return "rgba({0},{1},{2},{3})" -f $r,$g,$b,$a
PSHTML.psm1 dataset 1362 $Label
PSHTML.psm1 dataset 1363 $this.AddLabel($l)
PSHTML.psm1 AddLabel 1374 $Label
PSHTML.psm1 AddLabel 1375 $null = $this.Label.Add($L)
PSHTML.psm1 datasetPolarArea 1428 if ( @( $Label ).Count -gt 1 ) {...
PSHTML.psm1 datasetPolarArea 1428 $Label
PSHTML.psm1 datasetPolarArea 1429 $this.AddLabel($Label)
PSHTML.psm1 datasetPolarArea 1432 $this.SetLabel( @( $Label)[0] )
PSHTML.psm1 datasetPolarArea 1432 $Label
PSHTML.psm1 datasetPolarArea 1434 $this.AddData($Data)
PSHTML.psm1 SetLineColor 1494 Write-verbose "[DatasetLine][SetLineColor] Start"
PSHTML.psm1 SetLineColor 1495 $this.borderColor = $Color
PSHTML.psm1 SetLineColor 1496 $this.backgroundColor = $Color
PSHTML.psm1 SetLineColor 1497 if($Fill){...
PSHTML.psm1 SetLineColor 1498 $this.SetLineBackGroundColor($Color)
PSHTML.psm1 SetLineColor 1500 Write-verbose "[DatasetLine][SetLineColor] End"
PSHTML.psm1 SetLineBackGroundColor 1504 Write-verbose "[DatasetLine][SetLineBackGroundColor] Start"
PSHTML.psm1 SetLineBackGroundColor 1506 if(!($this.borderColor)){...
PSHTML.psm1 SetLineBackGroundColor 1506 $this.borderColor
PSHTML.psm1 SetLineBackGroundColor 1507 $t = $this.borderColor
PSHTML.psm1 SetLineBackGroundColor 1508 $this.fill = $true
PSHTML.psm1 SetLineBackGroundColor 1509 $t = $t.replace("rgb","rgba")
PSHTML.psm1 SetLineBackGroundColor 1510 $backgroundC = $t.replace(")",",0.4)")
PSHTML.psm1 SetLineBackGroundColor 1511 $this.backgroundColor = $backgroundC
PSHTML.psm1 SetLineBackGroundColor 1513 Write-verbose "[DatasetLine][SetLineBackGroundColor] End"
PSHTML.psm1 SetLineBackGroundColor 1518 Write-verbose "[DatasetLine][SetLineBackGroundColor] Start"
PSHTML.psm1 SetLineBackGroundColor 1519 $this.fill = $true
PSHTML.psm1 SetLineBackGroundColor 1520 $t = $Color
PSHTML.psm1 SetLineBackGroundColor 1521 $t = $t.replace("rgb","rgba")
PSHTML.psm1 SetLineBackGroundColor 1522 $backgroundC = $t.replace(")",",0.4)")
PSHTML.psm1 SetLineBackGroundColor 1523 $this.backgroundColor = $backgroundC
PSHTML.psm1 SetLineBackGroundColor 1524 Write-verbose "[DatasetLine][SetLineBackGroundColor] End"
PSHTML.psm1 GetPointSettings 1542 Write-Verbose "[DatasetLine][GetPointSettings] End"
PSHTML.psm1 AddBackGroundColor 1569 if($null -eq $this.backgroundColor){...
PSHTML.psm1 AddBackGroundColor 1570 $this.backgroundColor = @()
PSHTML.psm1 AddBackGroundColor 1572 $this.backgroundColor.Add($Color)
PSHTML.psm1 AddBackGroundColor 1577 $Colors
PSHTML.psm1 AddBackGroundColor 1578 $this.AddBackGroundColor($c)
PSHTML.psm1 AddHoverBackGroundColor 1591 $Colors
PSHTML.psm1 AddHoverBackGroundColor 1592 $this.AddHoverBackGroundColor($c)
PSHTML.psm1 1657 ""
PSHTML.psm1 BuildDefinition 1789 $This.GetDefinitionStart()
PSHTML.psm1 BuildDefinition 1790 $This.GetDefinitionBody()
PSHTML.psm1 BuildDefinition 1791 $This.GetDefinitionEnd()
PSHTML.psm1 GetDefinition 1848 $FullDefintion = [System.Text.StringBuilder]::new()
PSHTML.psm1 GetDefinition 1849 $FullDefintion.Append($this.GetDefinitionStart([String]$CanvasID))
PSHTML.psm1 GetDefinition 1850 $FullDefintion.AppendLine($this.GetDefinitionBody())
PSHTML.psm1 GetDefinition 1851 $FullDefintion.AppendLine($this.GetDefinitionEnd())
PSHTML.psm1 GetDefinition 1852 $FullDefintion.AppendLine("function RemoveCanvasAndCreateBase64Image (){")
PSHTML.psm1 GetDefinition 1853 $FullDefintion.AppendLine("var base64 = this.toBase64Image();")
PSHTML.psm1 GetDefinition 1854 $FullDefintion.AppendLine("var element = this.canvas;")
PSHTML.psm1 GetDefinition 1855 $FullDefintion.AppendLine("var parent = element.parentNode;")
PSHTML.psm1 GetDefinition 1856 $FullDefintion.AppendLine("var img = document.createElement('img');")
PSHTML.psm1 GetDefinition 1857 $FullDefintion.AppendLine("img.src = base64;")
PSHTML.psm1 GetDefinition 1858 $FullDefintion.AppendLine("img.name = element.id;")
PSHTML.psm1 GetDefinition 1859 $FullDefintion.AppendLine("element.before(img);")
PSHTML.psm1 GetDefinition 1860 $FullDefintion.AppendLine("parent.removeChild(element);")
PSHTML.psm1 GetDefinition 1861 $FullDefintion.AppendLine("document.getElementById('pshtml_script_chart_$canvasid').parentNode.removeChild(document.getElementById('pshtml_script_chart_$canva...
PSHTML.psm1 GetDefinition 1862 $FullDefintion.AppendLine("};")
PSHTML.psm1 GetDefinition 1863 $FullDefintion.replace('"RemoveCanvasAndCreateBase64Image"','RemoveCanvasAndCreateBase64Image')
PSHTML.psm1 GetDefinition 1874 $FullDefintionCleaned = Clear-WhiteSpace $FullDefintion
PSHTML.psm1 GetDefinition 1875 return $FullDefintionCleaned
PSHTML.psm1 horizontalBarChart 1905 $this.data = $Data
PSHTML.psm1 horizontalBarChart 1906 $This.options = $Options
PSHTML.psm1 RadarChart 1966 $this.data = $Data
PSHTML.psm1 RadarChart 1967 $This.options = $Options
PSHTML.psm1 polarAreaChart 1982 $this.data = $Data
PSHTML.psm1 polarAreaChart 1983 $This.options = $Options
PSHTML.psm1 Clear-WhiteSpace 2039 "$($Text -replace "(`t|`n|`r)"," " -replace "\s+"," ")".Trim()
PSHTML.psm1 Clear-WhiteSpace 2039 $Text -replace "(`t|`n|`r)"," " -replace "\s+"," "
PSHTML.psm1 Get-HTMLTemplate 2080 Throw "This function has been renamed to 'Get-PSHTMLTemplate' and will be removed in a future release .Either use the Alias 'include' or rename your function ...
PSHTML.psm1 Get-LogfilePath 2083 return $Script:Logfile
PSHTML.psm1 GetCustomParameters 2145 write-verbose "[GetCustomParameters] No custom parameters passed."
PSHTML.psm1 Set-HtmlTag 2190 write-verbose "[Set-HTMLTAG] attribute $($entry) is a reserved value, and should not be passed in the Attributes HashTable"
PSHTML.psm1 Set-HtmlTag 2190 $entry
PSHTML.psm1 Set-HtmlTag 2208 write-verbose "[SET-HTMLTAG] Not found"
PSHTML.psm1 Write-Error 2267 if (-not [System.String]::IsNullOrEmpty($Message)) {...
PSHTML.psm1 Write-Error 2270 $Type = 'Error'
PSHTML.psm1 Write-Error 2271 $Msgobj = [LogMessage]::new($Message,$Type)
PSHTML.psm1 Write-Error 2272 $FormatedMessage = $Msgobj.ToString()
PSHTML.psm1 Write-Error 2273 Write-PSHTMLLog -message $FormatedMessage -type $Type
PSHTML.psm1 Write-Error 2276 $host.ui.WriteErrorLine($FormatedMessage)
PSHTML.psm1 Write-Warning 2333 if (-not [System.String]::IsNullOrEmpty($Message)) {...
PSHTML.psm1 Write-Warning 2336 $Type = 'Warning'
PSHTML.psm1 Write-Warning 2337 $Msgobj = [LogMessage]::new($Message,$Type)
PSHTML.psm1 Write-Warning 2338 $FormatedMessage = $Msgobj.ToString()
PSHTML.psm1 Write-Warning 2339 Write-PSHTMLLog -message $FormatedMessage -type $Type
PSHTML.psm1 Write-Warning 2340 Microsoft.PowerShell.Utility\Write-Warning -Message $FormatedMessage
PSHTML.psm1 ConvertTo-HTMLTable 3583 Write-Warning "ConvertTo-HTMLTable is deprecated and will be removed in a future version. Please use ConvertTo-PSHTMLTable instead"
PSHTML.psm1 ConvertTo-HTMLTable 3584 ConvertTo-PSHTMLTable @PSBoundParameters
PSHTML.psm1 ConvertTo-PSHTMLTable 3688 $HeaderNames = $Properties
PSHTML.psm1 ConvertTo-PSHTMLTable 3689 $Hashtable.properties = $properties
PSHTML.psm1 ConvertTo-PSHTMLTable 3701 $Hashtable.caption = Caption -Content {...
PSHTML.psm1 ConvertTo-PSHTMLTable 3702 $Caption
PSHTML.psm1 ConvertTo-PSHTMLTable 3710 $TheadParams.id = $TheadId
PSHTML.psm1 ConvertTo-PSHTMLTable 3714 $TheadParams.Class = $TheadClass
PSHTML.psm1 ConvertTo-PSHTMLTable 3718 $TheadParams.Style = $TheadStyle
PSHTML.psm1 ConvertTo-PSHTMLTable 3722 $TheadParams.Attributes = $TheadAttributes
PSHTML.psm1 ConvertTo-PSHTMLTable 3765 $TableParams.Id = $TableID
PSHTML.psm1 ConvertTo-PSHTMLTable 3769 $TableParams.Class = $TableClass
PSHTML.psm1 ConvertTo-PSHTMLTable 3773 $TableParams.Style = $TableStyle
PSHTML.psm1 ConvertTo-PSHTMLTable 3780 $TBodyParams.Id = $TBodyId
PSHTML.psm1 ConvertTo-PSHTMLTable 3784 $TBodyParams.Class = $TBodyClass
PSHTML.psm1 ConvertTo-PSHTMLTable 3788 $TBodyParams.Style = $TBodyStyle
PSHTML.psm1 ConvertTo-PSHTMLTable 3792 $TBodyParams.Attributes = $TBodyAttributes
PSHTML.psm1 doctype 4071 return "<!DOCTYPE html>"
PSHTML.psm1 Get-PSHTMLAsset 4700 $Config.GetAsset($Name,$Type)
PSHTML.psm1 Get-PSHTMLColor 4762 [Color]::colornames
PSHTML.psm1 Get-PSHTMLColor 4773 Return [Color]::rgba([Color]::$colordef.R,[Color]::$colordef.G,[Color]::$colordef.B,0)
PSHTML.psm1 Get-PSHTMLColor 4782 Return [Color]::hsla([Color]::$colordef.R,[Color]::$colordef.G,[Color]::$colordef.B,0)
PSHTML.psm1 Get-PSHTMLColor 4785 Return [Color]::$Color
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5760 if($IsLinux){...
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5761 $Path = "$($home)/vscode/Snippets/"
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5761 $home
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5763 $Path = "$($env:APPDATA)\Code\User\Snippets"
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5763 $env:APPDATA
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5777 $Null = New-Item -Path $Path -ItemType Directory -Force
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5787 $Paras.Force = $true
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5799 Write-warning "$_"
PSHTML.psm1 Install-PSHTMLVSCodeSnippets 5803 write-warning "No snippts found in $SnippetsFolder"
PSHTML.psm1 New-PSHTMLCDNAssetFile 6656 Throw "Please specifiy a file name"
PSHTML.psm1 New-PSHTMLCDNAssetFile 6677 "Type $($Type) no supported."
PSHTML.psm1 New-PSHTMLCDNAssetFile 6677 $Type
PSHTML.psm1 New-PSHTMLCDNAssetFile 6681 $FileName = $FileName + '.cdn'
PSHTML.psm1 New-PSHTMLChart 6731 Throw '-DataSet is required'
PSHTML.psm1 New-PSHTMLChart 6734 Throw '-Labels is required'
PSHTML.psm1 New-PSHTMLChart 6736 Throw '-CanvasID is required'
PSHTML.psm1 New-PSHTMLChart 6789 Throw "Graph type not supported. Please use a valid value from Enum [ChartType]"
PSHTML.psm1 New-PSHTMLChart 6825 $ChartOptions.animation.onComplete = 'RemoveCanvasAndCreateBase64Image'
PSHTML.psm1 New-PSHTMLChartBarDataSet 6934 $Datachart.label = $label
PSHTML.psm1 New-PSHTMLChartBarDataSet 6938 $Datachart.xAxisID = $xAxisID
PSHTML.psm1 New-PSHTMLChartBarDataSet 6942 $Datachart.yAxisID = $yAxisID
PSHTML.psm1 New-PSHTMLChartBarDataSet 6946 $Datachart.backgroundColor = $backgroundColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 6950 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 6960 $Datachart.borderSkipped = $borderSkipped
PSHTML.psm1 New-PSHTMLChartBarDataSet 6964 $Datachart.hoverBackgroundColor = $hoverBackgroundColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 6968 $Datachart.hoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartBarDataSet 6971 $Datachart.HoverBorderWidth = $HoverBorderWidth
PSHTML.psm1 New-PSHTMLChartDataSet 7100 $dataSet = [dataSet]::New($Data,$Name)
PSHTML.psm1 New-PSHTMLChartDataSet 7101 if($BackgroundColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 7103 $dataSet.backgroundColor = [Color]::$BackgroundColor
PSHTML.psm1 New-PSHTMLChartDataSet 7106 if($HoverBackgroundColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 7108 $dataSet.HoverBackgroundColor = [Color]::$HoverBackgroundColor
PSHTML.psm1 New-PSHTMLChartDataSet 7111 if($hoverBorderColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 7113 $dataSet.hoverBorderColor = [Color]::$hoverBorderColor
PSHTML.psm1 New-PSHTMLChartDataSet 7116 if($BorderColor){...
PSHTML.psm1 New-PSHTMLChartDataSet 7118 $dataSet.BorderColor = [Color]::$BorderColor
PSHTML.psm1 New-PSHTMLChartDataSet 7121 if($yAxisID){...
PSHTML.psm1 New-PSHTMLChartDataSet 7123 $dataSet.yAxisID = $yAxisID
PSHTML.psm1 New-PSHTMLChartDataSet 7126 if($xAxisID){...
PSHTML.psm1 New-PSHTMLChartDataSet 7128 $dataSet.XAxisID = $xAxisID
PSHTML.psm1 New-PSHTMLChartDataSet 7131 if($borderSkipped){...
PSHTML.psm1 New-PSHTMLChartDataSet 7133 $dataSet.borderSkipped = $borderSkipped
PSHTML.psm1 New-PSHTMLChartDataSet 7136 return $dataset
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 7203 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 7210 $Datachart.AddHoverBackGroundColor($hoverBackgroundColor)
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 7217 $Datachart.hoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartDoughnutDataSet 7220 $Datachart.HoverBorderWidth = $HoverBorderWidth
PSHTML.psm1 New-PSHTMLChartLineDataSet 7276 $datachart.borderDash = 10
PSHTML.psm1 New-PSHTMLChartLineDataSet 7280 $Datachart.label = $label
PSHTML.psm1 New-PSHTMLChartLineDataSet 7288 $Datachart.borderDash = $LineDash
PSHTML.psm1 New-PSHTMLChartLineDataSet 7292 $Datachart.borderDashOffSet = $LineDashOffSet
PSHTML.psm1 New-PSHTMLChartLineDataSet 7296 $DataChart.SetLineColor($LineColor,$false)
PSHTML.psm1 New-PSHTMLChartLineDataSet 7297 $Datachart.PointHoverBackgroundColor = $LineColor
PSHTML.psm1 New-PSHTMLChartLineDataSet 7301 $Datachart.SetLineBackGroundColor()
PSHTML.psm1 New-PSHTMLChartLineDataSet 7304 $Datachart.SetLineBackGroundColor($FillbackgroundColor)
PSHTML.psm1 New-PSHTMLChartLineDataSet 7314 $Datachart.lineTension = 0
PSHTML.psm1 New-PSHTMLChartPieDataSet 7362 $Datachart.label = $label
PSHTML.psm1 New-PSHTMLChartPieDataSet 7366 $Datachart.AddBackGroundColor($backgroundColor)
PSHTML.psm1 New-PSHTMLChartPieDataSet 7371 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartPieDataSet 7378 $Datachart.AddHoverBackGroundColor($hoverBackgroundColor)
PSHTML.psm1 New-PSHTMLChartPieDataSet 7385 $Datachart.HoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartPieDataSet 7389 $Datachart.HoverBorderWidth = $HoverborderWidth
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7483 $Datachart.xAxisID = $xAxisID
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7487 $Datachart.yAxisID = $yAxisID
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7495 $Datachart.borderColor = $borderColor
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7505 $Datachart.borderSkipped = $borderSkipped
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7509 $Datachart.hoverBackgroundColor = $hoverBackgroundColor
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7516 $Datachart.hoverBorderColor = $HoverBorderColor
PSHTML.psm1 New-PSHTMLChartPolarAreaDataSet 7522 $Datachart.HoverBorderWidth = $HoverBorderWidth
PSHTML.psm1 New-PSHTMLDropDownList 7578 $Option += $items
PSHTML.psm1 New-PSHTMLDropDownList 7583 $items
PSHTML.psm1 New-PSHTMLDropDownList 7584 $Option += New-PSHTMLDropDownListItem -Content $item -value $item
PSHTML.psm1 New-PSHTMLDropDownListItem 7680 $options += option @PSBoundParameters
PSHTML.psm1 Out-PSHTMLDocument 8013 Invoke-Item -Path $OutPath
PSHTML.psm1 tr 9361 If (!($Class)){...
PSHTML.psm1 tr 9361 $Class
PSHTML.psm1 tr 9362 $Class = ""
PSHTML.psm1 tr 9366 $PSBoundParameters.Class = $ClassScript.Invoke($Content)
[A][39] C:\Users\taavast3\OneDrive\Repo\Projects\OpenSource\PSHTML >
@LxLeChat Tu avait pas ecrit un truc pour ceci?
Currently - v0.8.0: