示例#1
0
        public FakeTemplateField(FakeTemplateSection templateSection = null, string fieldName = null, ID fieldId = null)
        {
            var name    = fieldName ?? "fakeField";
            var id      = fieldId ?? ID.NewID;
            var section = templateSection ?? new FakeTemplateSection();

            builder = new TemplateField.Builder(name, id, section);
        }
示例#2
0
 public FakeTemplateField(TemplateField.Builder builder)
 {
     this.builder = builder;
 }