Format:
Recent snippets matching tags of DDD
[Serializable] public class Match { public Player PlayerOne { get; private set; } public Player PlayerTwo { get; private set; } internal bool PlayersInCommon(Match match)
137 Views
2 comments
[Serializable] public class Match { public Player PlayerOne { get; private set; } public Player PlayerTwo { get; private set; } ... }
141 Views
no comments
public abstract class EntityBase { private object key; protected EntityBase() : this(null) { } protected EntityBase(object key) { this.key = key; }
157 Views
no comments
namespace Northwind { /// <summary> /// A base class for all entities that implements identity equality. /// </summary> /// <typeparam name="TId">The type of the ID.</typeparam> /// <typeparam name="T">The type of the derived class (required for equality)</typeparam> public abstract class EntityBase<TId, T> where T : EntityBase<TId, T> { private TId _id;
263 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
