Skip to content

Instantly share code, notes, and snippets.

@vrana
vrana / gist:1009999
Created June 6, 2011 09:34 — forked from renestein/gist:1009518
Image_Decorator
interface IImagePersistor
{
void Save(Image image, string name);
}
class FilePersistor : IImagePersistor
{
public void Save(Image image, string name)
{
var stream = File.Open(name);