WIP Gets legacy dictionary, language classes to wrap the Core services implementation properly. Obsoletes a bunch of stuff, creates a few more tests, need to test UI now.

This commit is contained in:
Shannon
2015-01-12 18:52:30 +11:00
parent 7212015127
commit ffd4e9507b
11 changed files with 603 additions and 335 deletions

View File

@@ -18,12 +18,14 @@ namespace Umbraco.Core.Models
public DictionaryTranslation(ILanguage language, string value)
{
if (language == null) throw new ArgumentNullException("language");
_language = language;
_value = value;
}
public DictionaryTranslation(ILanguage language, string value, Guid uniqueId)
{
if (language == null) throw new ArgumentNullException("language");
_language = language;
_value = value;
Key = uniqueId;