-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Methods defined by a service interface (an interface which directly or indirectly extends IHttpService) should have certain properties. The following issues describe specific sub-tasks for these analyzers.
- The method name should have the format
Prepare{action}Async(Service interface method should be 'Prepare{Action}Async' #15) - The method should return
Task<{action}ApiCall>, and the{action}ApiCallclass should implementIHttpApiCall<T>(for someT) (Service interface method should return an API call #14) - The method should not match the regular expression
PrepareCreate[A-Z]\w*ApiCall(useAddinstead ofCreate) (Service interface method should not use 'Create' #13) - The method should not match the regular expression
PrepareDelete[A-Z]\w*ApiCall(useRemoveinstead ofDelete) (Service interface method should not use 'Delete' #12)