예제 #1
0
        /// <summary>
        /// Copy constructor.
        /// </summary>
        /// <param name="other">The <see cref="WriterTestDescriptor"/> to clone.</param>
        protected WriterTestDescriptor(WriterTestDescriptor other)
        {
            ExceptionUtilities.CheckArgumentNotNull(other, "other");

            this.settings = other.settings;
            this.Model    = other.Model;
            this.ExpectedResultCallback = other.ExpectedResultCallback;
            this.DebugDescription       = other.DebugDescription;
            this.SkipTestConfiguration  = other.SkipTestConfiguration;
            this.ContentType            = other.ContentType;
            this.UrlResolver            = other.UrlResolver;
        }
예제 #2
0
        /// <summary>
        /// Copy constructor.
        /// </summary>
        /// <param name="other">The <see cref="WriterTestDescriptor"/> to clone.</param>
        protected WriterTestDescriptor(WriterTestDescriptor other)
        {
            ExceptionUtilities.CheckArgumentNotNull(other, "other");

            this.settings = other.settings;
            this.Model = other.Model;
            this.ExpectedResultCallback = other.ExpectedResultCallback;
            this.DebugDescription = other.DebugDescription;
            this.SkipTestConfiguration = other.SkipTestConfiguration;
            this.ContentType = other.ContentType;
            this.UrlResolver = other.UrlResolver;
        }