This file contains 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
/// <summary> | |
/// base for all domain object which use this Uow | |
/// </summary> | |
public abstract class EntityRoot | |
{ | |
public virtual int Id { get; protected set; } | |
} | |
public class Book : EntityRoot |
This file contains 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
namespace HttpJsonTest | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Text; | |
using System.Web; |
This file contains 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.Text; | |
namespace TestIndex | |
{ | |
using Nest; | |
class Program |
This file contains 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
/// <summary> | |
/// Compares 2 objects to see if they are the same or have the same values | |
/// </summary> | |
public class ObjectComparer | |
{ | |
private readonly IList<object> _compared; | |
private readonly IDictionary<Type,IList<string>> _skipList; | |
public ObjectComparer() | |
{ |
This file contains 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.Configuration; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Text; | |
namespace TestEtl.Infrastructure | |
{ | |
public interface IIdGenerator |
This file contains 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
namespace ConfigBuilderTest | |
{ | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Dynamic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using Newtonsoft.Json; |
This file contains 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
blog-lb: | |
ports: | |
- 80:80 | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=proxy | |
tty: true | |
image: rancher/load-balancer-service | |
links: | |
- blog:blog | |
stdin_open: true |
This file contains 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
cassandra: | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=stateful | |
tty: true | |
image: mashape/cassandra | |
stdin_open: true | |
kong: | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=application | |
tty: true |
This file contains 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
DocumentLb: | |
ports: | |
- 5984:5984 | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=proxy | |
tty: true | |
image: rancher/load-balancer-service | |
links: | |
- Document:Document | |
stdin_open: true |
This file contains 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.Diagnostics; | |
using System.Linq; | |
using System.Linq.Expressions; | |
namespace CollectionTest | |
{ | |
class Program | |
{ |
OlderNewer