<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Joe.Business.Report
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class ReportAttribute : Attribute, Joe.Business.Report.IReportAttribute
    {
        public String Name { get; private set; }
        public String Description { get; private set; }
        public Type Repository { get; private set; }
        public Type Model { get; private set; }
        public Type ListView { get; set; }
        public String UiHint { get; set; }
        public IEnumerable<String> ListViewDisplayProperties { get; private set; }
        public Boolean Single
        {
            get
            {
                return ListView != null;
            }
        }

        public ReportAttribute(String name, Type repository, Type model, String description, params String[] listViewDisplayProperties)<commit_msg>Updating ReportAttribute Overloads<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Joe.Business.Report
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class ReportAttribute : Attribute, Joe.Business.Report.IReportAttribute
    {
        public String Name { get; private set; }
        public String Description { get; private set; }
        public Type Repository { get; private set; }
        public Type Model { get; private set; }
        public Type ListView { get; set; }
        public String UiHint { get; set; }
        public IEnumerable<String> ListViewDisplayProperties { get; private set; }
        public Boolean Single
        {
            get
            {
                return ListView != null;
            }
        }

        public ReportAttribute(String name, String description, String uiHint, Type repository, Type model, params String[] listViewDisplayProperties)
        {
            Name = name;
            Repository = repository;
            Model = model;
            ListViewDisplayProperties = listViewDisplayProperties;
            Description = description;
            UiHint = uiHint;
        }

        public ReportAttribute(String name, String description, Type repository, Type model, params String[] listViewDisplayProperties)
{'fraction_non_alphanumeric': 0.07352316192095197, 'fraction_numerical': 0.0, 'mean_word_length': 2.5345345345345347, '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': '1327051', 'n_tokens_mistral': 563, 'n_tokens_neox': 554, 'n_words': 185}