コード例 #1
0
ファイル: _04_HTMLDispatcher.cs プロジェクト: AKJ1/SoftuniOOP
 static ElementBuilder CreateInput(string type, string name, string value)
 {
     ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.a);
     e.AddAttribute("type", type);
     e.AddAttribute("name", name);
     e.AddContent(value);
     return e;
 }
コード例 #2
0
ファイル: _04_HTMLDispatcher.cs プロジェクト: AKJ1/SoftuniOOP
        static ElementBuilder CreateURL(string url, string title, string text)
        {

            ElementBuilder e = new ElementBuilder(ElementBuilder.HTMLTag.a);
            e.AddAttribute("href", url);
            e.AddAttribute("title", title);
            e.AddContent(text);
            return e;
        }