Skip to content

Instantly share code, notes, and snippets.

@einarwh
Created February 15, 2013 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save einarwh/4963099 to your computer and use it in GitHub Desktop.
Save einarwh/4963099 to your computer and use it in GitHub Desktop.
Simple example of eval in Mkay. The value of Rule acts as a rule for the value of Value.
public class Guardian
{
public string Rule { get; set; }
[Mkay("eval Rule")]
public string Value { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment