Exemple #1
0
 public static BoundedTo <TGraph, TPrimary> .FieldState.IAllowOptionalConfig IsDisabled <TGraph, TPrimary>(
     this BoundedTo <TGraph, TPrimary> .FieldState.IAllowOptionalConfig config,
     bool disabled)
     where TGraph : PXGraph
     where TPrimary : class, IBqlTable, new()
 {
     return(disabled ? config.IsDisabled() : config);
 }
Exemple #2
0
 public static BoundedTo <TGraph, TPrimary> .ActionState.IAllowOptionalConfig IsDuplicatedInToolbar <TGraph, TPrimary>(
     this BoundedTo <TGraph, TPrimary> .ActionState.IAllowOptionalConfig config,
     bool duplicated)
     where TGraph : PXGraph
     where TPrimary : class, IBqlTable, new()
 {
     return(duplicated ? config.IsDuplicatedInToolbar() : config);
 }