<commit_before>﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtensionsControlsModule.cs" company="Catel development team">
//   Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------


namespace Catel
{
    using Catel.IoC;
    using Catel.MVVM;
    using Catel.Windows.Controls;

    /// <summary>
    /// Extensions.Controls module which allows the registration of default services in the service locator.
    /// </summary>
    public class ExtensionsControlsModule : IServiceLocatorInitializer
    {
        /// <summary>
        /// Initializes the specified service locator.
        /// </summary>
        /// <param name="serviceLocator">The service locator.</param>
        public void Initialize(IServiceLocator serviceLocator)
        {
            Argument.IsNotNull(() => serviceLocator);

            var viewModelLocator = serviceLocator.ResolveType<IViewModelLocator>();
            viewModelLocator.Register(typeof(TraceOutputControl), typeof(TraceOutputViewModel));
        }
    }
}<commit_msg>Build fix<commit_after>﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtensionsControlsModule.cs" company="Catel development team">
//   Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------


namespace Catel
{
    using Catel.IoC;
    using Catel.MVVM;
    using Catel.Windows.Controls;

    /// <summary>
    /// Extensions.Controls module which allows the registration of default services in the service locator.
    /// </summary>
    public class ExtensionsControlsModule : IServiceLocatorInitializer
    {
        /// <summary>
        /// Initializes the specified service locator.
        /// </summary>
        /// <param name="serviceLocator">The service locator.</param>
        public void Initialize(IServiceLocator serviceLocator)
        {
            Argument.IsNotNull(() => serviceLocator);

#if NET
            var viewModelLocator = serviceLocator.ResolveType<IViewModelLocator>();
            viewModelLocator.Register(typeof(TraceOutputControl), typeof(TraceOutputViewModel));
#endif
        }
    }
}
{'fraction_non_alphanumeric': 0.27419992097984985, 'fraction_numerical': 0.006321612011062821, 'mean_word_length': 1.4995064165844028, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4446201', 'n_tokens_mistral': 561, 'n_tokens_neox': 534, 'n_words': 136}