Skip to content

Instantly share code, notes, and snippets.

@codereflection
Created September 9, 2010 16:42
Show Gist options
  • Select an option

  • Save codereflection/572137 to your computer and use it in GitHub Desktop.

Select an option

Save codereflection/572137 to your computer and use it in GitHub Desktop.
public class TickerSummaryViewModel
{
public string Ticker { get; set; }
public decimal CrimsQuantity { get; set; }
public decimal EmsQuantity { get; set; }
public decimal Difference
{
get { return CrimsQuantity - EmsQuantity; }
set { throw new NotImplementedException("I only have a setter because the XmlSerializer is stupid, please ignore me."); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment