public T CreateFiled(Action <FieldNameTemplate <T> > action)
        {
            var handler = new FieldNameTemplate <T>();

            action?.Invoke(handler);
            handler.Builder();
            OopFieldScript.Append(handler._script);
            return(Link);
        }
Beispiel #2
0
        public T CreateField <S>(Action <FieldNameTemplate <S> > action) where S : FieldNameTemplate <S>, new()
        {
            var handler = new FieldNameTemplate <S>();

            action?.Invoke(handler);
            handler.Builder();
            OopFieldScript.Append(handler._script);
            return(Link);
        }