protected abstract TControl CreateControl(
     SingleAnnotationAspectMember <UIControlAttribute> member,
     string label,
     string hint,
     int localeCultureId,
     RestrictionList restrictions,
     InterceptorList interceptors,
     GlobalizationList globalization);
Exemple #2
0
 protected override HtmlPresenterControl CreateControl(SingleAnnotationAspectMember <UIControlAttribute> member, string label, string hint, int localeCultureId, Restrictions.RestrictionList restrictions, Interceptors.InterceptorList interceptors, Globalization.GlobalizationList globalization)
 {
     return(new HtmlPresenterControl(
                member,
                label,
                hint,
                localeCultureId,
                restrictions,
                interceptors,
                globalization,
                (HtmlControl)HtmlControlFactory.Instance.CreateControlFor(member.Annotation)));
 }
 public BootstrapPresenterControl(
     SingleAnnotationAspectMember<UIControlAttribute> member,
     string label,
     string hint,
     int lcid,
     RestrictionList restrictions,
     InterceptorList interceptors,
     GlobalizationList globalization,
     BootstrapControl control)
     : base(member, label, hint, lcid, restrictions, interceptors, globalization)
 {
     this._Control = control;
 }
Exemple #4
0
 public HtmlPresenterControl(
     SingleAnnotationAspectMember <UIControlAttribute> member,
     string label,
     string hint,
     int lcid,
     RestrictionList restrictions,
     InterceptorList interceptors,
     GlobalizationList globalization,
     HtmlControl control)
     : base(member, label, hint, lcid, restrictions, interceptors, globalization)
 {
     this._Control = control;
 }
 public UIPresenterControl(
     SingleAnnotationAspectMember <UIControlAttribute> member,
     string label,
     string hint,
     int lcid,
     RestrictionList restrictions,
     InterceptorList interceptors,
     GlobalizationList globalization)
 {
     this._Member         = member;
     this._Groups         = new List <UIControlGroup>(member.GetAttributes <UIControlGroup>(true));
     this._Label          = string.IsNullOrEmpty(label) ? member.Name : label;
     this._Hint           = hint;
     this._LCID           = lcid;
     this._FormatProvider = System.Globalization.CultureInfo.GetCultureInfo(lcid);
     this._Restrictions   = restrictions;
     this._Interceptors   = interceptors;
     this._Globalization  = globalization;
 }
 public UIPresenterControl(
     SingleAnnotationAspectMember<UIControlAttribute> member,
     string label,
     string hint,
     int lcid,
     RestrictionList restrictions,
     InterceptorList interceptors,
     GlobalizationList globalization)
 {
     this._Member = member;
     this._Groups = new List<UIControlGroup>(member.GetAttributes<UIControlGroup>(true));
     this._Label = string.IsNullOrEmpty(label) ? member.Name : label;
     this._Hint = hint;
     this._LCID = lcid;
     this._FormatProvider = System.Globalization.CultureInfo.GetCultureInfo(lcid);
     this._Restrictions = restrictions;
     this._Interceptors = interceptors;
     this._Globalization = globalization;
 }