public CacheScopeImpl(SparkViewBase view, string identifier, CacheExpires expires) { _identifier = identifier; _expires = expires; _previousCacheScope = view._currentCacheScope; _cacheService = view.CacheService ?? _nullCacheService; _originator = new CacheOriginator(view.SparkViewContext); }
public InlineBlockOutputScope(SparkViewBase sparkView, IResourceRegistry resourceRegistry) { _sparkView = sparkView; _resourceRegistry = resourceRegistry; _previousWriter = sparkView.Output; _blockWriter = new SpoolWriter(); _sparkView.Output = _blockWriter; }
public OutputScopeImpl(SparkViewBase view, TextWriter writer) { this.view = view; previous = view.Output; view.Output = writer; }
protected AbstractSparkView(SparkViewBase decorated) : base(decorated) { }
protected SparkViewDecorator(SparkViewBase decorated) { _decorated = decorated; }
protected SparkViewDecorator(SparkViewBase decorated) { this._decorated = decorated; }
public MarkdownOutputScopeImpl(SparkViewBase view, TextWriter writer) { this.view = view; previous = view.Output; view.Output = writer; }