Esempio n. 1
0
        private void setLanguage(string language)
        {
            switch (language)
            {
            case "VBScript":
                this.language = new VBScriptLanguage();
                break;

            case "JScript":
                this.language = new JScriptLanguage();
                break;

            case "JavaScript":
                this.language = new JavaScriptLanguage();
                break;
            }
        }
		private void setLanguage(string language)
		{
			switch (language) {
				case "VBScript":
					this.language = new VBScriptLanguage();
					break;
				case "JScript":
					this.language = new JScriptLanguage();
					break;
				case "JavaScript":
					this.language = new JavaScriptLanguage();
					break;
			}
		}