public StringFieldType(string value , string displayName , ProjectType projectType , FieldHolderType fieldHolderType , int order , bool isForClient , bool isProdReady , bool defaultToDisabled , StringFieldType inheritsFromDefault , StringFieldDisplayType fieldDisplayType , string defaultValue) : base(value, displayName, projectType, fieldHolderType, order, isForClient, isProdReady, defaultToDisabled, inheritsFromDefault) { FieldDisplayType = fieldDisplayType; DefaultValue = defaultValue; }
public MediaFieldType(string value , string displayName , ProjectType projectType , FieldHolderType fieldHolderType , int order , bool isForClient , bool isProdReady , bool defaultToDisabled , MediaFieldType inheritsFromDefault , Dictionary <string, string> metadata , int width , int height = 0) : base(value, displayName, projectType, fieldHolderType, order, isForClient, isProdReady, defaultToDisabled, inheritsFromDefault, metadata) { Width = width; if (height == 0) { Height = width; } else { Height = height; } }