Ejemplo n.º 1
0
 protected void Register <TControl>(ApplyStyle styler)
 {
     Register(t => t == typeof(TControl) ? styler : null);
 }
Ejemplo n.º 2
0
 protected void RegisterInterface <TInterface>(ApplyStyle styler)
 {
     Register(t => typeof(TInterface).IsAssignableFrom(t) ? styler : null);
 }