<commit_before>﻿using Radical.Validation;
using System;
using System.Windows;

namespace Radical.Windows.Behaviors
{
    public abstract class DragDropOperationArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DragDropOperationArgs"/> class.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <param name="keyStates">The key states.</param>
        /// <param name="dropTarget">The drop target.</param>
        protected DragDropOperationArgs(IDataObject data, DragDropKeyStates keyStates, object dropTarget)
        {
            Ensure.That(data).Named("data").IsNotNull();
            Ensure.That(keyStates).Named("keyStates").IsTrue(ks => ks.IsDefined());

            Data = data;
            KeyStates = keyStates;
            DropTarget = dropTarget;
        }

        /// <summary>
        /// Gets the data.
        /// </summary>
        /// <value>The data.</value><commit_msg>Missing XML comment<commit_after>﻿using Radical.Validation;
using System;
using System.Windows;

namespace Radical.Windows.Behaviors
{
    /// <summary>
    /// The base abstract class used by Drag & Drop event arguments.
    /// </summary>
    public abstract class DragDropOperationArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DragDropOperationArgs"/> class.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <param name="keyStates">The key states.</param>
        /// <param name="dropTarget">The drop target.</param>
        protected DragDropOperationArgs(IDataObject data, DragDropKeyStates keyStates, object dropTarget)
        {
            Ensure.That(data).Named("data").IsNotNull();
            Ensure.That(keyStates).Named("keyStates").IsTrue(ks => ks.IsDefined());

            Data = data;
            KeyStates = keyStates;
            DropTarget = dropTarget;
        }

        /// <summary>
        /// Gets the data.
        /// </summary>
        /// <value>The data.</value>
{'fraction_non_alphanumeric': 0.13980582524271845, 'fraction_numerical': 0.0, 'mean_word_length': 2.161042944785276, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, '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': '376973', 'n_tokens_mistral': 543, 'n_tokens_neox': 546, 'n_words': 129}