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