<commit_before>using System;

namespace WebApiHypermediaExtensionsCore.WebApi.RouteResolver
{
    public class KeyAttribute : Attribute
    {
        public string TemplateParameterName { get; set; }

        public KeyAttribute()
        {
        }

        public KeyAttribute(string templateParameterName)
        {
            TemplateParameterName = templateParameterName;
        }
    }
}<commit_msg>- attribute usage for KeyAttribute<commit_after>using System;

namespace WebApiHypermediaExtensionsCore.WebApi.RouteResolver
{
    /// <summary>
    /// Marks a property as (part of) the objects key. The route template to obtain the object 
    /// must contain parameters matching the TemplateParameterName property. If a single property contains the complete
    /// key information it is not neccessary and redundant to specify TemplateParameterName.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class KeyAttribute : Attribute
    {
        public string TemplateParameterName { get; set; }

        public KeyAttribute()
        {
        }

        public KeyAttribute(string templateParameterName)
        {
            TemplateParameterName = templateParameterName;
        }
    }
}
{'fraction_non_alphanumeric': 0.06580016246953696, 'fraction_numerical': 0.0, 'mean_word_length': 2.710843373493976, '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': '5938201', 'n_tokens_mistral': 293, 'n_tokens_neox': 280, 'n_words': 88}