Class TrinityForm
- Namespace
- Abanoub
Nassem .Trinity.Components
- Assembly
- AbanoubNassem.Trinity.dll
Represents a form component used to build and manage forms.
- Inheritance
-
Trinity
Form
- Inherited Members
Properties
Schema
Gets or sets the schema of the form.
Property Value
- List<IForm
Component > The schema of the form.
Methods
FilterSchema(IEnumerable<object>?, IServiceProvider, bool, bool)
Filters the schema of the form based on the create and update requests.
public static List<object> FilterSchema(IEnumerable<object>? schema, IServiceProvider serviceProvider, bool isCreateRequest = false, bool isUpdateRequest = false)
Parameters
schema
IEnumerable<object>The schema of the form to filter.
serviceProvider
IServiceProvider The service provider.
isCreateRequest
boolTrue if the request is a create request, otherwise false.
isUpdateRequest
boolTrue if the request is an update request, otherwise false.
Returns
SetSchema(List<IFormComponent>)
Sets the schema of the form.
Parameters
schema
List<IFormComponent >The schema of the form.
Returns
- Trinity
Form The current instance of the Trinity
Form class.