コード例 #1
0
        public KnockoutFormBuilder <TModel> AddFieldset(Action <KnockoutFieldset> f)
        {
            var fieldset = new KnockoutFieldset();

            Form.Fieldsets.Add(fieldset);
            f.Invoke(fieldset);
            return(this);
        }
コード例 #2
0
 public KnockoutField(KnockoutFieldset fieldset, IField f)
 {
     this.Parent   = fieldset;
     this._Content = f.ToHtmlString();
 }