/// <summary> /// Initializes a new instance of the <see cref="DnnModuleControlAttribute" /> class. /// </summary> /// <param name="key">The key.</param> /// <param name="title">The title.</param> /// <param name="controlType">Type of the control.</param> /// <param name="supportsPartialRendering">If set to <c>true</c> [supports partial rendering].</param> /// <param name="supportsPopups">If set to <c>true</c> [supports popups].</param> public DnnModuleControlAttribute(string key, string title, DnnControlType controlType, bool supportsPartialRendering, bool supportsPopups) { this.ControlTitle = title; this.ControlType = controlType; this.Key = key; this.SupportsPartialRendering = supportsPartialRendering; this.SupportsPopups = supportsPopups; }
/// <summary> /// Initializes a new instance of the <see cref="DnnModuleControlAttribute" /> class. /// </summary> /// <param name="key">The key.</param> /// <param name="title">The title.</param> /// <param name="type">The type.</param> public DnnModuleControlAttribute(string key, string title, DnnControlType controlType) : this(key, title, controlType, true, true) { }