<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cofoundry.Domain;

namespace Cofoundry.Web
{
    /// <summary>
    /// Custom entity view model data used in a ICustomEntityPageViewModel implementation. This is 
    /// similar to CustomEntityRenderDetails from the domain, but adds a typed display model that 
    /// is mapped from the raw custom entity data model.
    /// </summary>
    /// <typeparam name="TDisplayModel">The type of view model used to represent the custom entity data model when formatted for display.</typeparam>
    public class CustomEntityRenderDetailsViewModel<TDisplayModel>
    {
        public int CustomEntityId { get; set; }

        public int CustomEntityVersionId { get; set; }

        public ActiveLocale Locale { get; set; }
<commit_msg>CustomEntityRenderDetailsViewModel now implements ICustomEntityRoutable<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cofoundry.Domain;

namespace Cofoundry.Web
{
    /// <summary>
    /// Custom entity view model data used in a ICustomEntityPageViewModel implementation. This is 
    /// similar to CustomEntityRenderDetails from the domain, but adds a typed display model that 
    /// is mapped from the raw custom entity data model.
    /// </summary>
    /// <typeparam name="TDisplayModel">The type of view model used to represent the custom entity data model when formatted for display.</typeparam>
    public class CustomEntityRenderDetailsViewModel<TDisplayModel> : ICustomEntityRoutable
    {
        public int CustomEntityId { get; set; }

        public int CustomEntityVersionId { get; set; }

        public ActiveLocale Locale { get; set; }

{'fraction_non_alphanumeric': 0.07609921082299888, 'fraction_numerical': 0.0, 'mean_word_length': 3.6223958333333335, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5016474', 'n_tokens_mistral': 455, 'n_tokens_neox': 441, 'n_words': 172}