CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of patterns
C++
#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>
by sigidagi   April 15, 2011 @ 7:36am
146 Views
no comments
 
C#
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) {
by togakangaroo   August 30, 2010 @ 10:59am
167 Views
no comments
 
C#
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)
by Robert Kozak   April 21, 2010 @ 12:33pm
876 Views
no comments
 
C#
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
by darek156   April 02, 2010 @ 1:21am
303 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate