C# Class Nfield.Services.Implementation.NfieldSurveyPublishService

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

Private Properties

Property Type Description
CheckSurveyId void
PublishSurveyApi System.Uri

Public Methods

Method Description
GetAsync ( string surveyId ) : Task
InitializeNfieldConnection ( INfieldConnectionClient connection ) : void
PutAsync ( string surveyId, Nfield.Models.SurveyPublishTypeUpgradeModel surveyPublishTypeUpgrade ) : System.Threading.Tasks.Task

Private Methods

Method Description
CheckSurveyId ( string surveyId ) : void
PublishSurveyApi ( string surveyId ) : Uri

Method Details

GetAsync() public method

public GetAsync ( string surveyId ) : Task
surveyId string
return Task

InitializeNfieldConnection() public method

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

PutAsync() public method

public PutAsync ( string surveyId, Nfield.Models.SurveyPublishTypeUpgradeModel surveyPublishTypeUpgrade ) : System.Threading.Tasks.Task
surveyId string
surveyPublishTypeUpgrade Nfield.Models.SurveyPublishTypeUpgradeModel
return System.Threading.Tasks.Task