Skip to content

Instantly share code, notes, and snippets.

@johnnonolan
Created October 26, 2010 16:48
Show Gist options
  • Save johnnonolan/647271 to your computer and use it in GitHub Desktop.
Save johnnonolan/647271 to your computer and use it in GitHub Desktop.
argh.cs
writer.Write(
string.Format("{0}:",
_meaningfulNameService.WellNamedMethod(
wellnamedType == WellNamedType.WellNameProperty &&
(goodname.wellnamedProperty == "Something" ||
goodname.wellnamedProperty == "Somethingelse")
? "Total"
: (goodname.wellnamedProperty != "Something" &&
goodname.wellnamedProperty != "SomethingElse")
? string.Format("Total for <br/>{0} to {1}",
minDate.ToString("ddd dd/MM", cultureInfo),
maxDate.ToString("ddd dd/MM", cultureInfo))
: "New Total", language)).Replace(" ", "&nbsp;"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment