Example #1
0
        //Review (JH asks in Oct 2016): Why does this exist? The only uses in libpalaso are in tests and examples. Bloom does not use it.
        // Why is From Url not sufficient?
        public static LicenseInfo FromToken(string abbr)
        {
            switch (abbr)
            {
            case "ask": return(new NullLicense());

            case "custom": return(new CustomLicense());

            default:
                return(CreativeCommonsLicense.FromToken(abbr));
            }
        }