UncommonSense.Spanish.format.ps1xml

<Configuration>
    <DefaultSettings>
        <ShowError/>
        <DisplayError/>
    </DefaultSettings>

    <ViewDefinitions>
        <View>
            <Name>Default</Name>
            <ViewSelectedBy>
                <TypeName>UncommonSense.Spanish.VerbInfo</TypeName>
            </ViewSelectedBy>
            <CustomControl>
                <CustomEntries>
                    <CustomEntry>
                        <CustomItem>
                            <ExpressionBinding>
                                <ScriptBlock>$_ | Format-List -Property Infinitive, @{n='Gerund'; e={[UncommonSense.Spanish.VerbSummaryMethods]::FormatValue($_.Gerund, $_.GerundRegularity, $Host.UI.SupportsVirtualTerminal)}}, @{n='Participle'; e={[UncommonSense.Spanish.VerbSummaryMethods]::FormatValue($_.Participle, $_.ParticipleRegularity, $Host.UI.SupportsVirtualTerminal)}}, @{n='Categories'; e={$_.Categories -join ', '}} | Out-Default</ScriptBlock>
                            </ExpressionBinding>
                            <ExpressionBinding>
                                <ScriptBlock>
                                $CurrentVerbInfo = $_

                                [Enum]::GetNames([UncommonSense.Spanish.VerbMood]) | ForEach-Object {
                                    $CurrentMood = $_
                                    [UncommonSense.Spanish.VerbSummaryMethods]::ByMoodByPerson($CurrentVerbInfo, $CurrentMood, $Host.UI.SupportsVirtualTerminal) |
                                        Format-Table -GroupBy Mood |
                                        Out-Default
                                }
                                </ScriptBlock>
                                <EnumerateCollection/>
                            </ExpressionBinding>
                            <ExpressionBinding>
                                <ScriptBlock>
                                    [UncommonSense.Spanish.VerbSummaryMethods]::TransposeTranslations($_) | Format-List | Out-Default
                                </ScriptBlock>
                            </ExpressionBinding>
                        </CustomItem>
                    </CustomEntry>
                </CustomEntries>
            </CustomControl>
        </View>
    </ViewDefinitions>
</Configuration>