<commit_before>﻿using Autofac.Extras.Attributed;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

namespace Autofac.Extras.Tests.Attributed.ScenarioTypes
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class)]
    public class ProvidedMetadataAttribute : Attribute, IMetadataProvider
    {
        public IDictionary<string, object> GetMetadata(Type targetType)<commit_msg>Added API doc for attributed metadata<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Autofac.Extras.Attributed;

namespace Autofac.Extras.Tests.Attributed.ScenarioTypes
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class)]
    public class ProvidedMetadataAttribute : Attribute, IMetadataProvider
    {
        public IDictionary<string, object> GetMetadata(Type targetType)
{'fraction_non_alphanumeric': 0.0784729586426299, 'fraction_numerical': 0.0, 'mean_word_length': 5.992592592592593, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6600904', 'n_tokens_mistral': 255, 'n_tokens_neox': 254, 'n_words': 54}