ZeroInstall.EmbeddedConfig.GetAppMode C# (CSharp) Method

GetAppMode() private static method

private static GetAppMode ( string value ) : BootstrapMode
value string
return BootstrapMode
        private static BootstrapMode GetAppMode(string value)
        {
            switch (value)
            {
                case "run":
                    return BootstrapMode.Run;
                case "integrate":
                    return BootstrapMode.Integrate;
                default:
                    return BootstrapMode.None;
            }
        }