File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 60
60
[string ] $NewLine ,
61
61
[string ] $Carriage ,
62
62
[switch ] $ArrayJoin ,
63
- [string ] $ArrayJoinString = ' , '
63
+ [string ] $ArrayJoinString = ' , ' ,
64
+ [switch ] $PrettifyObject ,
65
+ [string ] $PrettifyObjectSeparator = " , " ,
66
+ [string ] $PrettifyObjectDateTimeFormat
64
67
)
65
68
if ($Script :HTMLSchema ) {
66
69
if ($DataStore ) {
97
100
$Script :HTMLSchema [' TableOptions' ][' DataStoreOptions' ].ArrayJoin = $true
98
101
$Script :HTMLSchema [' TableOptions' ][' DataStoreOptions' ].ArrayJoinString = $ArrayJoinString
99
102
}
103
+ if ($PSBoundParameters.ContainsKey (' PrettifyObject' )) {
104
+ $Script :HTMLSchema [' TableOptions' ][' DataStoreOptions' ].PrettifyObject = $PrettifyObject.IsPresent
105
+ if ($PrettifyObjectSeparator ) {
106
+ $Script :HTMLSchema [' TableOptions' ][' DataStoreOptions' ].PrettifyObjectSeparator = $PrettifyObjectSeparator
107
+ }
108
+ if ($PrettifyObjectDateTimeFormat ) {
109
+ $Script :HTMLSchema [' TableOptions' ][' DataStoreOptions' ].PrettifyObjectDateTimeFormat = $PrettifyObjectDateTimeFormat
110
+ }
111
+ }
100
112
}
101
113
}
You can’t perform that action at this time.
0 commit comments