#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Disco.Web.Views.Shared { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; #line 2 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" using System.Text.RegularExpressions; #line default #line hidden using System.Web; using System.Web.Helpers; using System.Web.Mvc; using System.Web.Mvc.Ajax; using System.Web.Mvc.Html; using System.Web.Routing; using System.Web.Security; using System.Web.UI; using System.Web.WebPages; using Disco; using Disco.Models.Repository; using Disco.Services; using Disco.Services.Authorization; using Disco.Services.Web; using Disco.Web; using Disco.Web.Extensions; [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")] [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_CustomDetailValueRender.cshtml")] public partial class _CustomDetailValueRender : Disco.Services.Web.WebViewPage> { public _CustomDetailValueRender() { } public override void Execute() { #line 3 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" var emailMatch = Regex.Match(Model.Value, @"^(?.+)\s?<(?
.+@.+)>$"); if (!emailMatch.Success) { emailMatch = Regex.Match(Model.Value, @"^(?
.+@.+)$"); } #line default #line hidden WriteLiteral("\r\n"); #line 10 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" if (emailMatch.Success) { var emailAddress = emailMatch.Groups["address"].Value; var emailName = emailAddress; if (emailMatch.Groups["name"].Success) { emailName = emailMatch.Groups["name"].Value; } #line default #line hidden WriteLiteral(" (emailAddress #line default #line hidden , 570), false) ); WriteLiteral(">"); #line 18 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" Write(emailName); #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" } else { #line default #line hidden WriteLiteral(" "); #line 22 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" Write(Model.Value); #line default #line hidden WriteLiteral("\r\n"); #line 23 "..\..\Views\Shared\_CustomDetailValueRender.cshtml" } #line default #line hidden } } } #pragma warning restore 1591