Skip to content

Instantly share code, notes, and snippets.

@JobaDiniz
JobaDiniz / ExplicitExpansionWithIncludeBase.cs
Created May 19, 2020
Plug-and-play bug example of AutoMapper Explicit Expand feature
View ExplicitExpansionWithIncludeBase.cs
using AutoMapper.QueryableExtensions;
using System;
using System.Linq;
using Xunit;
namespace AutoMapper.UnitTests.Bug
{
public class ExplicitExpansionWithIncludeBase
{
/*********** Source Types ***********/
View headroom-directive-usage-example.html
<headroom class="headroom container" offset="50" ng-disabled="shouldDisableHeadroom()" on-top="isOnTop = true" on-not-top="isOnTop = false" classes='{"initial": "slide", "pinned": "slide--reset", "unpinned": "slide--up"}'>
<h1>My Content</h1>
</headroom>
@JobaDiniz
JobaDiniz / gist:1364803
Created Nov 14, 2011
Querying with LINQ - PoC
View gist:1364803
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Infrastructure.Repository;
using CRMTest.Entities;
using Framework.Infrastructure.Ordering;
using System.Linq.Expressions;
using System.Linq.Dynamic;