Bloom.web.UrlLookup.GetSandboxUrlType C# (CSharp) Method

GetSandboxUrlType() private static method

private static GetSandboxUrlType ( UrlType urlType ) : UrlType
urlType UrlType
return UrlType
        private static UrlType GetSandboxUrlType(UrlType urlType)
        {
            switch (urlType)
            {
                case UrlType.Parse:
                case UrlType.ParseSandbox:
                    return UrlType.ParseSandbox;
                case UrlType.LibrarySite:
                case UrlType.LibrarySiteSandbox:
                    return UrlType.LibrarySiteSandbox;
                default:
                    // ReSharper disable once LocalizableElement
                    throw new ArgumentOutOfRangeException("urlType", urlType, "There is no sandbox version for this url type.");
            }
        }