Пример #1
0
 public static Param <Action <T1, T2, T3, T4, T5, T6> > Method <TComponent, T1, T2, T3, T4, T5, T6>(MethodActionBehavior <TComponent, T1, T2, T3, T4, T5, T6> method) where TComponent : class
 => new ParamDecorator <Action <T1, T2, T3, T4, T5, T6> >(new MethodParam <TComponent>(method, typeof(Action <T1, T2, T3, T4, T5, T6>)));
Пример #2
0
 public static Param <Action> Method <TComponent>(MethodActionBehavior <TComponent> method) where TComponent : class
 => new ParamDecorator <Action>(new MethodParam <TComponent>(method, typeof(Action)));