30 lines
680 B
C#
30 lines
680 B
C#
using System;
|
|
|
|
namespace zero.Core.Renderer
|
|
{
|
|
public interface IRendererFieldBuilder
|
|
{
|
|
void Text(Action<TextOptions> optionsBuilder = null);
|
|
|
|
void Textarea(Action<TextOptions> optionsBuilder = null);
|
|
|
|
void Rte();
|
|
|
|
void IconPicker();
|
|
|
|
void Toggle();
|
|
|
|
void State(Action<StateOptions> optionsBuilder = null);
|
|
|
|
void Media(Action<MediaOptions> optionsBuilder = null);
|
|
|
|
void Output();
|
|
|
|
void Nested<T>(IRenderer<T> renderer, Action<NestedOptions> optionsBuilder = null);
|
|
|
|
void Renderer<T>(IRenderer<T> renderer, Action<DefaultRendererOptions> optionsBuilder = null);
|
|
|
|
void Custom(string path, Func<object> optionsBuilder = null);
|
|
}
|
|
}
|