public SitecoreSystemPropertyAttribute(SitecoreSystemPropertyType type) { FieldType = type; }
internal static PropertyInfo GetTemplateSystemProperty <T>(SitecoreSystemPropertyType type) { var prop = typeof(T).GetProperties().FirstOrDefault(s => s.GetCustomAttributes <SitecoreSystemPropertyAttribute>().Any(a => a.FieldType == type)); return(prop); }