<commit_before>﻿namespace Nancy.Validation.FluentValidation
{
    using System;
    using System.Collections.Generic;
    using global::FluentValidation.Internal;
    using global::FluentValidation.Validators;

    /// <summary>
    /// Defines the core functionality of an adapter between Fluent Validation validators and Nancy validation rules.
    /// </summary>
    public abstract class AdapterBase
    {
        public abstract bool CanHandle(IPropertyValidator validator, NancyContext context);

        /// <summary>
        /// Get the <see cref="ModelValidationRule"/> instances that are mapped from the fluent validation rule.
        /// </summary>
        /// <returns>An <see cref="IEnumerable{T}"/> of <see cref="ModelValidationRule"/> instances.</returns><commit_msg>Removed IFluentAdapter interface from AdapterBase by mistake<commit_after>﻿namespace Nancy.Validation.FluentValidation
{
    using System;
    using System.Collections.Generic;
    using global::FluentValidation.Internal;
    using global::FluentValidation.Validators;

    /// <summary>
    /// Defines the core functionality of an adapter between Fluent Validation validators and Nancy validation rules.
    /// </summary>
    public abstract class AdapterBase : IFluentAdapter
    {
        public abstract bool CanHandle(IPropertyValidator validator, NancyContext context);

        /// <summary>
        /// Get the <see cref="ModelValidationRule"/> instances that are mapped from the fluent validation rule.
        /// </summary>
        /// <returns>An <see cref="IEnumerable{T}"/> of <see cref="ModelValidationRule"/> instances.</returns>
{'fraction_non_alphanumeric': 0.10245398773006135, 'fraction_numerical': 0.0, 'mean_word_length': 3.3726541554959786, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '2136730', 'n_tokens_mistral': 393, 'n_tokens_neox': 386, 'n_words': 126}