Exemplo n.º 1
0
 protected abstract TControl CreateControl(
     SingleAnnotationAspectMember <UIControlAttribute> member,
     string label,
     string hint,
     int localeCultureId,
     RestrictionList restrictions,
     InterceptorList interceptors,
     GlobalizationList globalization);
Exemplo n.º 2
0
        IHoldAllConfiguration IBuildConfiguration.Build()
        {
            if (InterceptorList.Count > 0)
            {
                Interceptors    = InterceptorList.ToArray();
                HasInterceptors = true;
            }

            return(this);
        }
Exemplo n.º 3
0
        IHoldAllConfiguration IBuildConfiguration.Build()
        {
            if (InterceptorList.Count > 0)
            {
                Interceptors    = InterceptorList.ToArray();
                HasInterceptors = true;
            }

            this.StateRehydrator = new Rehydrator(this);

            return(this);
        }
 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;
 }
Exemplo n.º 5
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;
 }
 public InterceptorAspectMember(ClassAcessor acessor)
     : base(acessor)
 {
     this._interceptors = new InterceptorList(this);
 }