public TControl Create <TControl>(string name, params Attribute[] attributes)
            where TControl : Control <TOwner>
        {
            var control = UIComponentResolver.CreateControl <TControl, TOwner>(_component, name, attributes);

            Add(control);

            return(control);
        }
 public TControl Create <TControl>(string name, params Attribute[] attributes)
     where TControl : Control <TOwner>
 {
     return(UIComponentResolver.CreateControl <TControl, TOwner>(component, name, attributes));
 }
예제 #3
0
 /// <inheritdoc/>
 public TControl Find <TControl>(string name, params Attribute[] attributes)
     where TControl : Control <TOwner>
 =>
 UIComponentResolver.CreateControl <TControl, TOwner>(this, name, attributes);