Esempio n. 1
0
 protected override void ProcessRecord()
 {
     RestService.AddCommand(new RestCommand {
         Name              = Command,
         PublishAs         = PublishAs ?? Command,
         DefaultParameters = ProcessParameters(DefaultParameter),
         ForcedParameters  = ProcessParameters(ForcedParameter),
         Roles             = RoleRequired
     });
 }