Example #1
0
        /// <summary>
        /// Creates a new instance of the OtoReader class based on the specified
        /// configuration file.
        /// </summary>
        /// <param name="file">The configuration file to open.</param>
        public static OtoReader FromFile(string file)
        {
            OtoReader or = new OtoReader();

            or.OpenFile(file);
            return(or);
        }
Example #2
0
 /// <summary>
 /// Creates a new instance of the OtoReader class based on the specified
 /// configuration file.
 /// </summary>
 /// <param name="file">The configuration file to open.</param>
 public static OtoReader FromFile(string file) {
     OtoReader or = new OtoReader();
     or.OpenFile(file);
     return or; 
 }