Created
March 17, 2014 12:13
-
-
Save derikwhittaker/9598182 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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