Exemplo n.º 1
0
Arquivo: S.cs Projeto: pulb/basenji
        public static void SetCulture(CultureInfo ci)
        {
            if (ci == null)
                throw new ArgumentNullException("ci");

            c = Catalog.GetCatalogForCulture(ci, ns, true);
        }
Exemplo n.º 2
0
Arquivo: S.cs Projeto: pulb/basenji
        public static void SetCulture(string name)
        {
            if (name == null)
                throw new ArgumentNullException("name");

            c = Catalog.GetCatalogForCulture(name, ns, true);
        }
Exemplo n.º 3
0
Arquivo: S.cs Projeto: pulb/basenji
        static S()
        {
            ns = String.Format("{0}.{1}",
                               Assembly.GetCallingAssembly().GetName().Name,
                               "po");

            c = Catalog.GetCatalogForCulture(CultureInfo.CurrentUICulture, ns, true);
        }