コード例 #1
0
        public override void Execute()
        {
            var material = this._site.RealmUpMaterial();

            string templatePath = RazorHtmlHelper.ResolveTemplatePath("/Character/RealmMaterialRender.cshtml");
            var    builder      = new CodeBuilder <RealmUpMaterial>(templatePath, material);
            string html         = builder.Generate();

            Response.Write(html);
        }
コード例 #2
0
        public override void Execute()
        {
            string eid      = GetQuery("eid");
            var    material = this._site.EquipUpMaterial(eid);

            string templatePath = RazorHtmlHelper.ResolveTemplatePath("/Equip/MaterialRender.cshtml");
            var    builder      = new CodeBuilder <EquipUpMaterial>(templatePath, material);
            string html         = builder.Generate();

            Response.Write(html);
        }