This allows us in the future to use any type of data source for the dictionary. Have obsoleted the old ICultureDictionary in the macro engines project (where it doesn't belong anyways). The new one doesn't expose the 'Language' property to the front-end because this is a business logic class which means designers can just delete a whole language from the db by calling 'Delete' on the object !
14 lines
308 B
C#
14 lines
308 B
C#
using System;
|
|
using umbraco.cms.businesslogic.language;
|
|
|
|
namespace umbraco.MacroEngines
|
|
{
|
|
[Obsolete("This class has been superceded by Umbraco.Core.Dictionary.ICultureDictionary")]
|
|
public interface ICultureDictionary
|
|
{
|
|
string this[string key] { get; }
|
|
Language Language { get; }
|
|
}
|
|
|
|
}
|