Skip to content

Instantly share code, notes, and snippets.

View mastoj's full-sized avatar

Tomas Jansson mastoj

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CycleGraph
{
public class Node
{
public int Id { get; set; }
@mastoj
mastoj / ClientWrapperUsage.cs
Created December 6, 2010 20:05
Generic service client base class for WCF
public class ClientWrapperUsage
{
public static void main(string[] args)
{
using(var clientWrapper = new ServiceClientWrapper<ServiceType>())
{
var response = clientWrapper.Channel.ServiceCall();
}
}
}
public class test
{
public void main(string[] args)
{
Console.WriteLine("Hello world!");
Console.ReadLine();
}
}