Skip to content

Instantly share code, notes, and snippets.

@mikeobrien
Created December 6, 2010 03:59
Show Gist options
  • Save mikeobrien/729828 to your computer and use it in GitHub Desktop.
Save mikeobrien/729828 to your computer and use it in GitHub Desktop.
[Serializable, CompilationMapping(SourceConstructFlags.ObjectType)]
public interface IPhoton
{
double EnergyByFrequency(Tuple<double, double>);
[CompilationArgumentCounts(new int[] { 1, 1 })]
double EnergyByWavelength(double, double);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment