public static string GetNestingProperty(this MetaCompilerAnnotation annot) { foreach (var prop in annot.Properties) { if (prop.Name == "nestingProperty") { return("\"" + prop.Value + "\""); } } return("null"); }
public static string GetObjectType(this MetaCompilerAnnotation annot) { foreach (var prop in annot.Properties) { if (prop.Name == "type") { return("typeof(" + prop.Value + ")"); } } return("null"); }
public static string GetMerge(this MetaCompilerAnnotation annot) { foreach (var prop in annot.Properties) { if (prop.Name == "merge") { return(prop.Value); } } return("false"); }