/// <summary>
 /// Specifies that a class should be used as a member type by UmbracoCodeFirst.
 /// </summary>
 /// <param name="memberTypeName">The name of the member type</param>
 /// <param name="memberTypeAlias">The alias of the member type</param>
 /// <param name="icon">The icon to display in the content tree (see UmbracoCodeFirst.BuiltInIcons for constants representing Umbraco's default icon set)</param>
 /// <param name="iconColor">The icon color to show in the tree</param>
 /// <param name="description">The Description of the member type</param>
 public MemberTypeAttribute(string memberTypeName = null, string memberTypeAlias = null,
             string icon = BuiltInIcons.IconDocument, string description = "", UmbracoIconColor iconColor = UmbracoIconColor.Black)
 {
     Name = memberTypeName;
     Alias = memberTypeAlias;
     EnableListView = false;
     AllowedAtRoot = false;
     AllowedChildren = new Type[] { };
     Icon = icon;
     Description = description;
     IconColor = iconColor;
 }
 /// <summary>
 /// <para>Specifies that a class should be used as a member type by UmbracoCodeFirst.</para>
 /// <para>
 /// THIS CTR is included for compatability with the output of the T4 generators, as it has the same signature as the 
 /// other content attribute types. It should not be used. Use the overload with 5 parameters for human-written code.
 /// </para>
 /// </summary>
 /// <param name="memberTypeName">The name of the member type</param>
 /// <param name="memberTypeAlias">The alias of the member type</param>
 /// <param name="allowedChildren">Should always be null - no inheritance in member types.</param>
 /// <param name="icon">The icon to display in the content tree (see UmbracoCodeFirst.BuiltInIcons for constants representing Umbraco's default icon set)</param>
 /// <param name="allowAtRoot">Should always be false - no folders in members tree</param>
 /// <param name="enableListView">Should always be false - no folder structure in members tree</param>
 /// <param name="iconColor">The icon color to show in the tree</param>
 /// <param name="description">The Description of the member type</param>
 public MemberTypeAttribute(string memberTypeName, string memberTypeAlias, object allowedChildren,
             string icon, bool allowAtRoot, bool enableListView, string description, UmbracoIconColor iconColor = UmbracoIconColor.Black)
 {
     Name = memberTypeName;
     Alias = memberTypeAlias;
     EnableListView = false;
     AllowedAtRoot = allowAtRoot;
     AllowedChildren = new Type[] { };
     Icon = icon;
     Description = description;
     IconColor = iconColor;
 }
 /// <summary>
 /// Specifies that a class should be used as a media type by UmbracoCodeFirst.
 /// </summary>
 /// <param name="mediaTypeName">The name of the media type</param>
 /// <param name="mediaTypeAlias">The alias of the media type</param>
 /// <param name="allowedChildren">An array of code-first media types which are valid children of this media type</param>
 /// <param name="icon">The icon to display in the content tree (see UmbracoCodeFirst.BuiltInIcons for constants representing Umbraco's default icon set)</param>
 /// <param name="allowAtRoot">True to allow this type of media to be created at the root of the content tree</param>
 /// <param name="enableListView">True to enable list view for this media type</param>
 /// <param name="description">The Description of the media type</param>
 public MediaTypeAttribute(string mediaTypeName = null, string mediaTypeAlias = null, Type[] allowedChildren = null,
     string icon = BuiltInIcons.IconDocument, bool allowAtRoot = false, bool enableListView = false, string description = "", UmbracoIconColor iconColor = UmbracoIconColor.Black)
 {
     Name = mediaTypeName;
     Alias = mediaTypeAlias;
     EnableListView = enableListView;
     AllowedAtRoot = allowAtRoot;
     AllowedChildren = allowedChildren;
     Icon = icon;
     Description = description;
     IconColor = iconColor;
 }