Include() private method

private Include ( Field[]>.Dictionary data ) : void
data Field[]>.Dictionary
return void
コード例 #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;
 }
コード例 #2
0
        void LoadAssemblyLocalizationData(Assembly assembly)
        {
            if (loadedAssemblies.Contains(assembly))
            {
                return;
            }
            var assemblyLocData = GetLocalizationData(assembly);

            localizationData.Include(assemblyLocData);
            loadedAssemblies.Add(assembly);
        }
コード例 #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);
        }
コード例 #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);
        }