leonvanbokhorst/RepositoryPatternLinqToSql
The Repository pattern adds a separation layer between the data and domain layers of an application. It also makes the data access parts of an application better testable.
Discovered public repositories for leonvanbokhorst in the GitHub catalog.
The Repository pattern adds a separation layer between the data and domain layers of an application. It also makes the data access parts of an application better testable.
The Repository pattern adds a separation layer between the data and domain layers of an application. It also makes the data access parts of an application better testable.
The 8-Puzzle Problem is a thing they throw at you when you study Artificial Intelligence. It’s a great little problem for learning to understand search trees and shortest path algorithms with heuristics. Traveling via Breadth-First Search, via Depth First Search we mostly end up with the A* Algorithm using a Manhattan Distance Heuristic for effectively solving this problem. This article shows a way how to do this in C#.
SortAlgoBot performs a classic Quicksort sorting algorithm on an array of twelve colored Lego balls. It detects all colors in the first round. Then the sorting starts and all 'swaps' the algorithm makes are executed. Programmed in C# with VisualStudio 2010 and the excellent Mindsqualls Lego Mindstroms Nxt library. It fires of commands to Motorcontrol, a great third party application for better controlling motor movements on the Nxt brick.
A Simple Factory Pattern example in c#
Public repository.
Public repository.
The Chain of Responsibility pattern takes a request and flows through a chain of handlers. Each handler checks if it can handle the request according to some business rules. If the handler can’t handle the request it gets passed to the next handler in the chain. The client doesn’t know which handler eventually handles the request.
Command Pattern Console Example