Exemple #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);
        }
Exemple #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);
        }
        /// <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);
        }
        /// <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);
        }