Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateContext"/> class.
 /// </summary>
 public TemplateContext()
 {
     StyleDirectories = new List<string>();
     _regexItems = new List<TagExpandItem>();
     _msnRegistry = new MsdnRegistry();
     Param = new DynamicParam();
     Style = new DynamicParam();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateContext"/> class.
 /// </summary>
 public TemplateContext()
 {
     StyleDirectories = new List <string>();
     _regexItems      = new List <TagExpandItem>();
     _msnRegistry     = new MsdnRegistry();
     Param            = new DynamicParam();
     Style            = new DynamicParam();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateContext"/> class.
 /// </summary>
 public TemplateContext(Razorizer razorizer)
 {
     this.Razorizer = razorizer;
     StyleDirectories = new List<string>();
     _regexItems = new List<TagExpandItem>();
     _msnRegistry = new MsdnRegistry();
     Param = new DynamicParam();
     Style = new DynamicParam();
     razorizer.TemplateResolver += TemplateResolver;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateContext"/> class.
 /// </summary>
 public TemplateContext(Razorizer razorizer)
 {
     this.Razorizer              = razorizer;
     StyleDirectories            = new List <string>();
     _regexItems                 = new List <TagExpandItem>();
     _msnRegistry                = new MsdnRegistry();
     Param                       = new DynamicParam();
     Style                       = new DynamicParam();
     razorizer.TemplateResolver += TemplateResolver;
 }