Skip to content

Instantly share code, notes, and snippets.

View JobaDiniz's full-sized avatar

Joberto Diniz JobaDiniz

View GitHub Profile
@JobaDiniz
JobaDiniz / ExplicitExpansionWithIncludeBase.cs
Created May 19, 2020 20:44
Plug-and-play bug example of AutoMapper Explicit Expand feature
using AutoMapper.QueryableExtensions;
using System;
using System.Linq;
using Xunit;
namespace AutoMapper.UnitTests.Bug
{
public class ExplicitExpansionWithIncludeBase
{
/*********** Source Types ***********/
<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 November 14, 2011 19:05
Querying with LINQ - PoC
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;