C# Class Nfield.Services.Implementation.NfieldSurveyResponseCodesService

Implementation of INfieldSurveyResponseCodesService
Inheritance: INfieldSurveyResponseCodesService, INfieldConnectionClientObject
Exibir arquivo Open project: NIPOSoftware/Nfield-SDK Class Usage Examples

Private Properties

Property Type Description
SurveyResponseCodeUrl string

Public Methods

Method Description
AddAsync ( string surveyId, Nfield.Models.SurveyResponseCode responseCode ) : Task

INfieldSurveyResponseCodesService.AddAsync

InitializeNfieldConnection ( INfieldConnectionClient connection ) : void

INfieldConnectionClientObject.InitializeNfieldConnection

QueryAsync ( string surveyId ) : Task>

INfieldSurveyResponseCodesService.QueryAsync(string)

QueryAsync ( string surveyId, int code ) : Task

INfieldSurveyResponseCodesService.QueryAsync(string, int)

RemoveAsync ( string surveyId, int code ) : System.Threading.Tasks.Task

INfieldSurveyResponseCodesService.RemoveAsync

UpdateAsync ( string surveyId, Nfield.Models.SurveyResponseCode responseCode ) : Task

INfieldSurveyResponseCodesService.UpdateAsync

Private Methods

Method Description
SurveyResponseCodeUrl ( string surveyId, int code ) : string

Constructs and returns the url for survey response code based on supplied surveyId and code

Method Details

AddAsync() public method

INfieldSurveyResponseCodesService.AddAsync
public AddAsync ( string surveyId, Nfield.Models.SurveyResponseCode responseCode ) : Task
surveyId string
responseCode Nfield.Models.SurveyResponseCode
return Task

InitializeNfieldConnection() public method

INfieldConnectionClientObject.InitializeNfieldConnection
public InitializeNfieldConnection ( INfieldConnectionClient connection ) : void
connection INfieldConnectionClient
return void

QueryAsync() public method

INfieldSurveyResponseCodesService.QueryAsync(string)
public QueryAsync ( string surveyId ) : Task>
surveyId string
return Task>

QueryAsync() public method

INfieldSurveyResponseCodesService.QueryAsync(string, int)
public QueryAsync ( string surveyId, int code ) : Task
surveyId string
code int
return Task

RemoveAsync() public method

INfieldSurveyResponseCodesService.RemoveAsync
public RemoveAsync ( string surveyId, int code ) : System.Threading.Tasks.Task
surveyId string
code int
return System.Threading.Tasks.Task

UpdateAsync() public method

INfieldSurveyResponseCodesService.UpdateAsync
public UpdateAsync ( string surveyId, Nfield.Models.SurveyResponseCode responseCode ) : Task
surveyId string
responseCode Nfield.Models.SurveyResponseCode
return Task