Catel.Services.IStartUpInfoProviderExtensions.GetCommandLine C# (CSharp) Метод

GetCommandLine() публичный статический Метод

Gets the command line as a string and quotes the values with a space.
The is null.
public static GetCommandLine ( this startUpInfoProvider ) : string
startUpInfoProvider this The start up information provider.
Результат string
        public static string GetCommandLine(this IStartUpInfoProvider startUpInfoProvider)
        {
            Argument.IsNotNull("startUpInfoProvider", startUpInfoProvider);

            var commandLine = string.Join(" ", startUpInfoProvider.Arguments.Select(x => x.TrimStart().IndexOfAny(ReplaceableCharacters) > 0 ? string.Format("\"{0}\"", x) : x));
            return commandLine;
        }
        #endregion
IStartUpInfoProviderExtensions