Class AppointmentSettingsBuilder
A builder class that holds the settings related to appointment.
Inheritance
System.Object
AppointmentSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class AppointmentSettingsBuilder
Constructors
AppointmentSettingsBuilder()
Initializes a new instance of the AppointmentSettingsBuilder class.
Declaration
public AppointmentSettingsBuilder()
AppointmentSettingsBuilder(AppointmentSettings)
Initializes a new instance of the AppointmentSettingsBuilder class to indicate the appointment settings.
Declaration
public AppointmentSettingsBuilder(AppointmentSettings appSettings)
Parameters
Type | Name | Description |
---|---|---|
AppointmentSettings | appSettings | It accepts the object that holds the settings related to appointment. |
Methods
Field(String)
This field stores the appointment field name.
Declaration
public AppointmentSettingsBuilder Field(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts the appointment field name. |
Returns
Type | Description |
---|---|
AppointmentSettingsBuilder |
ValidationRules(Action<ScheduleValidationRuleBuilder>)
It stores the validation rule value for the specified appointment field.
Declaration
public AppointmentSettingsBuilder ValidationRules(Action<ScheduleValidationRuleBuilder> validationRule)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ScheduleValidationRuleBuilder> | validationRule | It accepts the validation rule value for the specified appointment field. |
Returns
Type | Description |
---|---|
AppointmentSettingsBuilder |
ValidationRules(Dictionary<String, Object>)
This field stores the validation rule value for the specified appointment field.
Declaration
public AppointmentSettingsBuilder ValidationRules(Dictionary<string, object> validationRule)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | validationRule | It accepts the validation rule value for the specified appointment field. |
Returns
Type | Description |
---|---|
AppointmentSettingsBuilder |