Пример #1
0
        /// <summary>
        /// Default constructor.
        /// </summary>

        public DiskFunctions(ref RipperSettings rs)
        {
            this.rs       = rs;
            this.fileExt  = ".ripperblk";
            this.charList = "abcdefghijklmnopqrstuvwxyz0123456789".ToCharArray();
            this.rnd      = new Random();

            this.WorkingDir = string.Empty;
        }
        /// <summary>
        /// Default constructor.
        /// </summary>

        public DiskFunctions(ref RipperSettings rs)
        {
            this.rs       = rs;
            this.fileExt  = ".ripperblk";
            this.charList = ("abcdefghijklmnopqrstuvwxyz" +
                             "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789").ToCharArray();
            this.rnd = new Random();

            this.WorkingDir = string.Empty;
        }
        /// <summary>
        /// Default constructor for the <see cref="CPUFunctions"/>
        /// class.
        /// <para>Requires a <see cref="RipperSettings"/> instance to
        /// pull various test parameters e.g. iterations per test. </para>
        /// </summary>
        /// <param name="rs">A <see cref="RipperSettings"/> instance by reference.</param>

        public CPUFunctions(ref RipperSettings rs)
        {
            this.rs = rs;
        }