Skip to content

Instantly share code, notes, and snippets.

@skoon
Created June 2, 2009 19:57
Show Gist options
  • Save skoon/122536 to your computer and use it in GitHub Desktop.
Save skoon/122536 to your computer and use it in GitHub Desktop.
public class New
{
private iFoo _Foo;
public string PropertyName { get; set; }
public string PropertyValue { get; set; }
public New(iFoo foo) : this(foo, string.Empty){}
public New(iFoo foo, string propertyName) : this(foo, propertyName, string.Empty) { }
public New(iFoo foo,string propertyName, string propertyValue)
{
_Foo = foo;
PropertyName = propertyName;
PropertyValue = propertyValue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment