This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AutoMap.AssemblyOf<...>(new BusinessModelAutomapping()) | |
.Conventions.AddAssembly(Assembly.GetExecutingAssembly()) | |
.UseOverridesFromAssembly(Assembly.GetExecutingAssembly()) | |
.Alterations(a => a.AddFromAssembly(Assembly.GetExecutingAssembly())); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Monoid<T> { | |
public T None { get; private set; } | |
public Func<T, T, T> Operation { get; private set; } | |
public Monoid(Func<T,T,T> operation, T none) { | |
this.Operation = operation; | |
this.None = none; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Compilation; | |
using System.Web.Mvc; | |
using System.Web.Razor; | |
using System.Web.WebPages.Razor; | |
[assembly: PreApplicationStartMethod(typeof(AshMind.Web.Mvc.Razor.RazorJavaScriptSupport), "SetupAll")] |
NewerOlder