Ejemplo n.º 1
0
        public XmlElementRepository(string path)
        {
            this.path = path;
            //if (Directory.Exists(path) == false)
            //{
            //    try
            //    {
            //        Directory.CreateDirectory(path);
            //    }
            //    catch (IOException exception)
            //    {
            //        throw new DirectoryCreateException(exception);
            //    }
            //}

            resx = new ResXResource(path);
        }
Ejemplo n.º 2
0
        public XmlElementRepository(string path)
        {
            this.path = path;
            //if (Directory.Exists(path) == false)
            //{
            //    try
            //    {
            //        Directory.CreateDirectory(path);
            //    }
            //    catch (IOException exception)
            //    {
            //        throw new DirectoryCreateException(exception);
            //    }
            //}

            resx = new ResXResource(path);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XmlElementRepository" /> class.
        /// </summary>
        /// <param name="path">The path.</param>
        public XmlElementRepository(string path)
        {
            this.path = path;

            resx = new ResXResource(path);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XmlElementRepository" /> class.
        /// </summary>
        /// <param name="path">The path.</param>
        public XmlElementRepository(string path)
        {
            this.path = path;

            resx = new ResXResource(path);
        }