Пример #1
0
        /// <summary>
        /// Create an instance of RowKeysPairAnsi from a file in RowKeysPairAnsi format.
        /// </summary>
        /// <param name="rowKeysAnsiFileName">The RowKeysPairAnsi file</param>
        /// <param name="parallelOptions">A ParallelOptions instance that configures the multithreaded behavior of this operation.</param>
        /// <param name="fileAccess">A FileAccess value that specifies the operations that can be performed on the file. Defaults to 'Read'</param>
        /// <param name="fileShare">A FileShare value specifying the type of access other threads have to the file. Defaults to 'Read'</param>
        /// <returns>A RowKeysPairAnsi object</returns>
        public static RowKeysPairAnsi GetInstanceFromRowKeysAnsi(string rowKeysAnsiFileName, ParallelOptions parallelOptions, FileAccess fileAccess = FileAccess.Read, FileShare fileShare = FileShare.Read)
        {
            RowKeysPairAnsi rowKeysPairAnsi = new RowKeysPairAnsi();

            rowKeysPairAnsi.GetInstanceFromRowKeysStructFileNameInternal(rowKeysAnsiFileName, parallelOptions, fileAccess, fileShare);
            return(rowKeysPairAnsi);
        }