Format:
Recent snippets matching tags of patterns
#include <boost/noncopyable.hpp> #include <boost/asio.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost/thread/mutex.hpp> #include <boost/thread/locks.hpp> #include <boost/bind.hpp> #include <string>
146 Views
no comments
public class StoredProcedureGateway : IExternalSystemGateway { public object Call(string procedure, object[] params) { // call sproc } } public class SomeStoredProcedureParameters : IIssueExternalCalls { public string SomeString; public int SomeInt; public object IssueWith(IExternalSystemGateway gateway) {
167 Views
no comments
namespace Nowcom.Quicksilver.Patterns { using System; public class Strategy<T,V> { public Predicate<T> Condition { get; private set; } public Func<T, V> Result { get; private set; } public Strategy(Predicate<T> condition, Func<T, V> result)
876 Views
no comments
public interface IRepository<T> { T GetById(Guid id); T GetByQuery(Query query); void Add(T item); void Remove(T item); void Update(T item); } //mozliwe jest rozszezenie generycznego interfejsu o metody specyfikczne
303 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
