C# Class Nfield.Services.Implementation.NfieldTranslationsService

Inheritance: INfieldTranslationsService, INfieldConnectionClientObject
Show file Open project: NIPOSoftware/Nfield-SDK Class Usage Examples

Private Properties

Property Type Description
CheckSurveyId void
TranslationsApi System.Uri

Public Methods

Method Description
AddAsync ( string surveyId, int languageId, Nfield.Models.Translation translation ) : Task

See INfieldTranslationsService.AddAsync

InitializeNfieldConnection ( INfieldConnectionClient connection ) : void
QueryAsync ( string surveyId, int languageId ) : Task>

See INfieldTranslationsService.QueryAsync

RemoveAsync ( string surveyId, int languageId, Nfield.Models.Translation translation ) : System.Threading.Tasks.Task

See INfieldTranslationsService.RemoveAsync

UpdateAsync ( string surveyId, int languageId, Nfield.Models.Translation translation ) : System.Threading.Tasks.Task

See INfieldTranslationsService.UpdateAsync

Private Methods

Method Description
CheckSurveyId ( string surveyId ) : void
TranslationsApi ( string surveyId, int languageId, string translationName ) : Uri

Method Details

AddAsync() public method

See INfieldTranslationsService.AddAsync
public AddAsync ( string surveyId, int languageId, Nfield.Models.Translation translation ) : Task
surveyId string
languageId int
translation Nfield.Models.Translation
return Task

InitializeNfieldConnection() public method

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

QueryAsync() public method

See INfieldTranslationsService.QueryAsync
public QueryAsync ( string surveyId, int languageId ) : Task>
surveyId string
languageId int
return Task>

RemoveAsync() public method

See INfieldTranslationsService.RemoveAsync
public RemoveAsync ( string surveyId, int languageId, Nfield.Models.Translation translation ) : System.Threading.Tasks.Task
surveyId string
languageId int
translation Nfield.Models.Translation
return System.Threading.Tasks.Task

UpdateAsync() public method

See INfieldTranslationsService.UpdateAsync
public UpdateAsync ( string surveyId, int languageId, Nfield.Models.Translation translation ) : System.Threading.Tasks.Task
surveyId string
languageId int
translation Nfield.Models.Translation
return System.Threading.Tasks.Task