예제 #1
0
        public void Render([NotNull] ITableBuilder tableBuilder, [NotNull] string name, [NotNull] object model)
        {
            if (!(model is bool boolToRender))
            {
                throw new InvalidOperationException("model is not bool");
            }

            tableBuilder.RenderCheckBoxValue(name, boolToRender);
        }