예제 #1
0
 public MarkdownTokenValidatorContext(IMarkdownRewriteEngine rewriteEngine, string file)
 {
     _rewriteEngine = rewriteEngine;
     _file          = file;
     Debug.Assert(_current == null, "Current context should be null.");
     _current = this;
 }
예제 #2
0
 internal MarkdownTokenValidatorContext(IMarkdownRewriteEngine rewriteEngine, string file)
 {
     _rewriteEngine = rewriteEngine;
     _file = file;
     Debug.Assert(_current == null, "Current context should be null.");
     _current = this;
 }
 void IDisposable.Dispose()
 {
     _current = null;
 }
 internal MarkdownTokenValidatorContext(IMarkdownRewriteEngine rewriteEngine)
 {
     _rewriteEngine = rewriteEngine;
     Debug.Assert(_current == null, "Current context should be null.");
     _current = this;
 }
예제 #5
0
 void IDisposable.Dispose()
 {
     _current = null;
 }