Exemplo n.º 1
0
        //private string EnglishGetModuleTitle(SoftwareInfo software, string name)
        //{
        //    var productName = software.Product.Name;
        //    var id = ModuleProvider.GetModuleId(productName, name);
        //    if (id == null)
        //        return null;
        //    return EnglishResourceProvider.GetString(id);
        //}

        private string DoGetModuleTitle(SoftwareInfo software, string name)
        {
            var productName = software.Product.Name;

            return(ModuleProvider.GetModuleTitle(productName, name));
        }