UncommonSense.CBreeze.Automation.Format.ps1xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration> <ViewDefinitions> <View> <Name>AsCode</Name> <ViewSelectedBy> <TypeName>UncommonSense.CBreeze.Core.Application</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <ScriptBlock>$_ | Export-CBreezeApplication</ScriptBlock> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> <View> <Name>AsCode</Name> <ViewSelectedBy> <TypeName>UncommonSense.CBreeze.Core.Object</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <ScriptBlock>$_ | Export-CBreezeApplication</ScriptBlock> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> <View> <Name>AsList</Name> <ViewSelectedBy> <TypeName>UncommonSense.CBreeze.Core.PageControlBase</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>Type</Label> <Width>12</Width> </TableColumnHeader> <TableColumnHeader> <Width>10</Width> <Alignment>Right</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Name</Label> <Width>20</Width> </TableColumnHeader> <TableColumnHeader> <Label>Subtype/SourceExpr</Label> <Width>40</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock>"$(' ' * $_.IndentationLevel)$($_.Type)"</ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>ID</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Properties.Name</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock> $Current = $_ switch($Current.Type) { 'Container' { "$($Current.Properties.ContainerType)" } 'Group' { "$($Current.Properties.GroupType)" } 'Part' { "$($Current.Properties.PartType)" } 'Field' { "$($Current.Properties.SourceExpr)" } } </ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>AsList</Name> <ViewSelectedBy> <TypeName>UncommonSense.CBreeze.Core.Object</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> <Alignment>Right</Alignment> <Width>8</Width> </TableColumnHeader> <TableColumnHeader> <Width>20</Width> </TableColumnHeader> <TableColumnHeader> <Label>DateTime</Label> <Width>20</Width> <Alignment>Right</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Modified</Label> <Width>8</Width> <Alignment>Right</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>VersionList</Label> <Width>20</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Type</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>ID</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.ObjectProperties.DateTime</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.ObjectProperties.Modified</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.ObjectProperties.VersionList</ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |