<commit_before>﻿// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
//
// Idea got from and adapted to work in perspex
// http://silverlight.codeplex.com/SourceControl/changeset/view/74775#Release/Silverlight4/Source/Controls.Layout.Toolkit/LayoutTransformer/LayoutTransformer.cs
//

using Perspex.Controls.Presenters;
using Perspex.Controls.Primitives;
using Perspex.Controls.Templates;
using Perspex.Media;
using Perspex.VisualTree;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reactive.Linq;

namespace Perspex.Controls
{
    public class LayoutTransformControl : ContentControl
    {
        public static readonly PerspexProperty<Transform> LayoutTransformProperty =
            PerspexProperty.Register<LayoutTransformControl, Transform>(nameof(LayoutTransform));

        static LayoutTransformControl()
        {
            LayoutTransformProperty.Changed
                .AddClassHandler<LayoutTransformControl>(x => x.OnLayoutTransformChanged);
        }

        public Transform LayoutTransform
        {
            get { return GetValue(LayoutTransformProperty); }
            set { SetValue(LayoutTransformProperty, value); }
        }

        /// <summary><commit_msg>LayoutTranformControl code reformatted<commit_after>﻿// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
//
// Idea got from and adapted to work in perspex
// http://silverlight.codeplex.com/SourceControl/changeset/view/74775#Release/Silverlight4/Source/Controls.Layout.Toolkit/LayoutTransformer/LayoutTransformer.cs
//

using Perspex.Controls.Primitives;
using Perspex.Media;
using Perspex.VisualTree;
using System;
//using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reactive.Linq;

namespace Perspex.Controls
{
    public class LayoutTransformControl : ContentControl
    {
        public static readonly PerspexProperty<Transform> LayoutTransformProperty =
            PerspexProperty.Register<LayoutTransformControl, Transform>(nameof(LayoutTransform));

        static LayoutTransformControl()
        {
            LayoutTransformProperty.Changed
                .AddClassHandler<LayoutTransformControl>(x => x.OnLayoutTransformChanged);
        }

        public Transform LayoutTransform
        {
            get { return GetValue(LayoutTransformProperty); }
            set { SetValue(LayoutTransformProperty, value); }
        }

        /// <summary>
{'fraction_non_alphanumeric': 0.08276385725132877, 'fraction_numerical': 0.004555808656036446, 'mean_word_length': 3.5042735042735043, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3946283', 'n_tokens_mistral': 682, 'n_tokens_neox': 649, 'n_words': 159}