/// <summary> /// Initializes a new instance of the <see cref="NancyVisualBasicRazorCodeParser"/> class. /// </summary> /// <param name="assemblyCatalog">An <see cref="IAssemblyCatalog"/> instance.</param> public NancyVisualBasicRazorCodeParser(IAssemblyCatalog assemblyCatalog) { this.assemblyCatalog = assemblyCatalog; this.MapDirective(ModelTypeKeyword, this.ModelTypeDirective); this.clrTypeResolver = new VisualBasicClrTypeResolver(assemblyCatalog); }
/// <summary> /// Initializes a new instance of the <see cref="NancyVisualBasicRazorCodeParser"/> class. /// </summary> public NancyVisualBasicRazorCodeParser() { MapDirective(ModelTypeKeyword, ModelTypeDirective); this.clrTypeResolver = new VisualBasicClrTypeResolver(); }