ZeroInstall.BootstrapProcess.GetEmbeddedArgs C# (CSharp) Method

GetEmbeddedArgs() private static method

Gets implicit command-line arguments based on the EmbeddedConfig, if any.
private static GetEmbeddedArgs ( ) : IEnumerable
return IEnumerable
        private static IEnumerable<string> GetEmbeddedArgs()
        {
            switch (EmbeddedConfig.Instance.AppMode)
            {
                case BootstrapMode.Run:
                    return new[] {"run", EmbeddedConfig.Instance.AppUri.ToStringRfc()};
                case BootstrapMode.Integrate:
                    return new[] {"integrate", EmbeddedConfig.Instance.AppUri.ToStringRfc()};
                default:
                    return new string[0];
            }
        }