/// <summary> /// Initializes a new instance of the <see cref="FamosFileField"/> class. /// </summary> /// <param name="type">The type of the field.</param> public FamosFileField(FamosFileFieldType type) { this.Type = type; }
/// <summary> /// Initializes a new instance of the <see cref="FamosFileField"/> class. /// </summary> /// <param name="type">The type of the field.</param> /// <param name="components">A list of components belonging to the field.</param> public FamosFileField(FamosFileFieldType type, List <FamosFileComponent> components) { this.Type = type; this.Components.AddRange(components); }
internal FamosFileChannelData(string name, FamosFileFieldType type, List <FamosFileComponentData> componentsData) { this.Name = name; this.Type = type; this.ComponentsData = componentsData; }