Skip to content

Instantly share code, notes, and snippets.

@derikwhittaker
Created March 17, 2014 12:13
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 derikwhittaker/9598182 to your computer and use it in GitHub Desktop.
Save derikwhittaker/9598182 to your computer and use it in GitHub Desktop.
public class Foo{
public void Bar(){
var fieldValue = new {
ParentKey = "something",
SectionKey = "section",
FieldKey = "field",
LabelKey = "label"
} : IFieldValue;
}
}
public interface IFieldInfo : IFieldValue
{
string ParentKey { get; set; }
string SectionKey { get; set; }
string FieldKey { get; set; }
string LabelKey { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment