Nfield.Services.Implementation.NfieldTranslationsService.CheckSurveyId C# (CSharp) Méthode

CheckSurveyId() private static méthode

private static CheckSurveyId ( string surveyId ) : void
surveyId string
Résultat void
        private static void CheckSurveyId(string surveyId)
        {
            if (surveyId == null)
                throw new ArgumentNullException("surveyId");
            if (surveyId.Trim().Length == 0)
                throw new ArgumentException("surveyId cannot be empty");
        }