SIL.FieldWorks.FieldWorks.GetCommandLineAbbrevForAppName C# (CSharp) Метод

GetCommandLineAbbrevForAppName() приватный статический Метод

Gets the command-line abbreviation for the specified application name.
private static GetCommandLineAbbrevForAppName ( string appName ) : string
appName string Name of the application.
Результат string
		private static string GetCommandLineAbbrevForAppName(string appName)
		{
			if (appName == null)
				throw new ArgumentNullException("appName");

			appName = appName.ToLowerInvariant();
			if (appName == FwUtils.ksTeAppName.ToLowerInvariant())
				return FwUtils.ksTeAbbrev;
			if (appName == FwUtils.ksFlexAppName.ToLowerInvariant())
				return FwUtils.ksFlexAbbrev;
			throw new ArgumentException("Unknown application name");
		}
FieldWorks