コード例 #1
0
        public IRenderingHtmlRequestParametersBuilder <IGetRenderingHtmlRequest> SourceVersion(int?itemVersion)
        {
            BaseValidator.CheckForTwiceSetAndThrow(this.itemSourceAccumulator.VersionNumber, this.GetType().Name + ".Version");
            BaseValidator.AssertPositiveNumber(itemVersion, this.GetType().Name + ".SourceVersion");

            this.itemSourceAccumulator = new ItemSourcePOD(
                this.itemSourceAccumulator.Database,
                this.itemSourceAccumulator.Language,
                itemVersion);

            return(this);
        }