Include() private method

private Include ( Field[]>.Dictionary data ) : void
data Field[]>.Dictionary
return void
Exemplo n.º 1
0
 public static LocalizationData GetDefaultLocalizationData(Assembly assembly, IEnumerable<ILocalizationDataProvider> providers)
 {
     LocalizationData res = new LocalizationData();
     foreach (var p in providers)
     {
         var data = p.ReadDefaultData(assembly);
         res.Include(data);
     }
     return res;
 }
        void LoadAssemblyLocalizationData(Assembly assembly)
        {
            if (loadedAssemblies.Contains(assembly))
            {
                return;
            }
            var assemblyLocData = GetLocalizationData(assembly);

            localizationData.Include(assemblyLocData);
            loadedAssemblies.Add(assembly);
        }
Exemplo n.º 3
0
        public static LocalizationData GetDefaultLocalizationData(Assembly assembly, IEnumerable <ILocalizationDataProvider> providers)
        {
            LocalizationData res = new LocalizationData();

            foreach (var p in providers)
            {
                var data = p.ReadDefaultData(assembly);
                res.Include(data);
            }
            return(res);
        }
Exemplo n.º 4
0
        void LoadAssemblyLocalizationData(Assembly assembly)
        {
            var assemblyName = LocalizationAssemblyHelper.GetAssemblyName(assembly);

            if (loadedAssemblies.Contains(assemblyName))
            {
                return;
            }
            var assemblyLocData = GetLocalizationData(assembly);

            localizationData.Include(assemblyLocData);
            loadedAssemblies.Add(assemblyName);
        }