<commit_before>﻿<UserControl x:Class="ProjectCDA.UserControls.SinglePageControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:UserControls="clr-namespace:ProjectCDA.UserControls"
             xmlns:SinglePageTemplates="clr-namespace:ProjectCDA.UserControls.Templates.SinglePage"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

    <UserControl.Resources>
        <UserControls:SinglePageTemplateSelector x:Key="SinglePageTemplateSelector" />

        <DataTemplate x:Key="SinglePageTemplateDefault">
            <SinglePageTemplates:SinglePageTemplateDefault />
        </DataTemplate>
    </UserControl.Resources>

    <ContentControl Content="{Binding}" ContentTemplateSelector="{StaticResource SinglePageTemplateSelector}">
    </ContentControl>
</UserControl><commit_msg>Make ContentControl single liner instead of opening and closing tag sice we don't need to nest anything inside.<commit_after>﻿<UserControl x:Class="ProjectCDA.UserControls.SinglePageControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:UserControls="clr-namespace:ProjectCDA.UserControls"
             xmlns:SinglePageTemplates="clr-namespace:ProjectCDA.UserControls.Templates.SinglePage"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

    <UserControl.Resources>
        <UserControls:SinglePageTemplateSelector x:Key="SinglePageTemplateSelector" />

        <DataTemplate x:Key="SinglePageTemplateDefault">
            <SinglePageTemplates:SinglePageTemplateDefault />
        </DataTemplate>
    </UserControl.Resources>

    <ContentControl Content="{Binding}" ContentTemplateSelector="{StaticResource SinglePageTemplateSelector}" />
</UserControl>
{'fraction_non_alphanumeric': 0.11816578483245149, 'fraction_numerical': 0.019400352733686066, 'mean_word_length': 3.7172557172557172, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6072582', 'n_tokens_mistral': 672, 'n_tokens_neox': 607, 'n_words': 65}