示例#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();
 }
示例#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();
 }
示例#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;
 }
示例#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;
 }