IVO.CMS.Web.RenderingSystemContext.RenderingSystemContext C# (CSharp) Method

RenderingSystemContext() public method

public RenderingSystemContext ( ISystemContext systemContext, DateTimeOffset viewDate = null, IConditionalEvaluator evaluator = null, ICustomElementProvider provider = null, bool throwOnError = false, bool injectErrorComments = true, bool injectWarningComments = false ) : System
systemContext ISystemContext
viewDate DateTimeOffset
evaluator IConditionalEvaluator
provider ICustomElementProvider
throwOnError bool
injectErrorComments bool
injectWarningComments bool
return System
        public RenderingSystemContext(ISystemContext systemContext, DateTimeOffset? viewDate = null, IConditionalEvaluator evaluator = null, ICustomElementProvider provider = null, bool throwOnError = false, bool injectErrorComments = true, bool injectWarningComments = false)
        {
            this.SystemContext = systemContext;
            this.Engine = new ContentEngine(
                systemContext.trrepo,
                systemContext.blrepo,
                systemContext.tpsbrepo,
                viewDate ?? DateTimeOffset.Now,
                evaluator,
                provider,
                throwOnError,
                injectErrorComments,
                injectWarningComments
            );
        }