TypeAccelerators.format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
 
<Configuration>
    <ViewDefinitions>
        <View>
            <Name>TypeAccelerator</Name>
            <ViewSelectedBy>
                <TypeName>TypeAccelerator.KeyValuePair</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader>
                        <Label>Name</Label>
                        <Width>25</Width>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>ReferencedType</Label>
                    </TableColumnHeader>
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>Key</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Value</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                </TableRowEntries>
            </TableControl>
        </View>
 
        <View>
            <Name>TypeAccelerator</Name>
            <ViewSelectedBy>
                <TypeName>TypeAccelerator.KeyValuePair</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <Label>Name</Label>
                                <ScriptBlock>"[$($_.Key)]"</ScriptBlock>
                            </ListItem>
                            <ListItem>
                                <Label>ReferencedType</Label>
                                <PropertyName>Value</PropertyName>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
    </ViewDefinitions>
</Configuration>