/// <summary> /// Use default language /// </summary> /// <param name="value"></param> /// <returns></returns> public override LocId Register(string value) { var locId = new LocId { Id = mId }; CurrentMapping[locId] = value; mId++; return(locId); }
public override string Resolve(LocId locId) { return(CurrentMapping[locId]); }
public override void Register(Enum langEnum, LocId locId, string value) { var result = mMappings.GetOrAdd(langEnum, Factory); result[locId] = value; }
public string this[LocId locId] { get => mDict[locId];