Class BlockoutSettingsBuilder
A builder class that holds settings for blockout.
Inheritance
System.Object
BlockoutSettingsBuilder
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()
Assembly: Syncfusion.EJ.dll
Syntax
public class BlockoutSettingsBuilder
Constructors
BlockoutSettingsBuilder(BlockoutSettings)
Declaration
public BlockoutSettingsBuilder(BlockoutSettings blockSettings)
Parameters
Type |
Name |
Description |
BlockoutSettings |
blockSettings |
It accepts the object that holds the settings for blockout
|
Methods
CustomStyle(String)
This field stores the value which applies the custom CSS to the block intervals.
Declaration
public BlockoutSettingsBuilder CustomStyle(string customStyle)
Parameters
Type |
Name |
Description |
System.String |
customStyle |
|
Returns
Datasource()
It throws the Datasource exception value if occurred any.
Declaration
public object Datasource()
Returns
Type |
Description |
System.Object |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
Datasource(DataSource)
This field stores the blockout data collections.
Declaration
public BlockoutSettingsBuilder Datasource(DataSource dataSource)
Parameters
Type |
Name |
Description |
DataSource |
dataSource |
It accepts the blockout data collections.
|
Returns
Datasource(Action<DataSourceBuilder>)
It stores the blockout data collections.
Declaration
public BlockoutSettingsBuilder Datasource(Action<DataSourceBuilder> dataSource)
Parameters
Type |
Name |
Description |
System.Action<DataSourceBuilder> |
dataSource |
It accepts the blockout data collections.
|
Returns
Datasource(IEnumerable)
This field stores the blockout data collections.
Declaration
public BlockoutSettingsBuilder Datasource(IEnumerable dataSource)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
dataSource |
It accepts the blockout data collections
|
Returns
Datasource(String)
This field stores the URL of blockout data collections.
Declaration
public BlockoutSettingsBuilder Datasource(string dataURL)
Parameters
Type |
Name |
Description |
System.String |
dataURL |
It accepts the URL of blockout data collections.
|
Returns
Enable(Boolean)
This field stores the value that indicates whether to enable or disbale BlockoutSettings for Schedule.
Declaration
public BlockoutSettingsBuilder Enable(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
It accepts the boolean value and enable or disbale BlockoutSettings based on it.
|
Returns
EndTime(String)
This field stores the end time value for blockout collection.
Declaration
public BlockoutSettingsBuilder EndTime(string endTime)
Parameters
Type |
Name |
Description |
System.String |
endTime |
|
Returns
GroupId(String)
This field stores the resource group id value.
Declaration
public BlockoutSettingsBuilder GroupId(string groupId)
Parameters
Type |
Name |
Description |
System.String |
groupId |
It accepts the resource group id value.
|
Returns
Id(String)
This field stores the id value for blockout collection.
Declaration
public BlockoutSettingsBuilder Id(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
IsAllDay(String)
This field stores the value which indicates whether an entire day is blocked or not.
Declaration
public BlockoutSettingsBuilder IsAllDay(string isAllDay)
Parameters
Type |
Name |
Description |
System.String |
isAllDay |
It accepts the value which indicates whether an entire day is blocked or not.
|
Returns
IsBlockAppointment(String)
This field stores the value which indicates whether to allow / restrict the CRUD operations on appointments that lies on the blocked area.
Declaration
public BlockoutSettingsBuilder IsBlockAppointment(string isBlockAppointment)
Parameters
Type |
Name |
Description |
System.String |
isBlockAppointment |
It accepts the value to allow / restrict the CRUD operations on appointments that lies on the blocked area.
|
Returns
Query(String)
This field stores the query value for blockout.
Declaration
public BlockoutSettingsBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
It accepts the blockout query value.
|
Returns
ResourceId(String)
This field stores the resource id value.
Declaration
public BlockoutSettingsBuilder ResourceId(string resourceId)
Parameters
Type |
Name |
Description |
System.String |
resourceId |
It accepts the resource id value.
|
Returns
StartTime(String)
This field stores the start time value for blockout collection.
Declaration
public BlockoutSettingsBuilder StartTime(string startTime)
Parameters
Type |
Name |
Description |
System.String |
startTime |
|
Returns
Subject(String)
This field stores the subject value for blockout collection..
Declaration
public BlockoutSettingsBuilder Subject(string subject)
Parameters
Type |
Name |
Description |
System.String |
subject |
|
Returns
TableName(String)
This field stores the blockout collections table name.
Declaration
public BlockoutSettingsBuilder TableName(string tableName)
Parameters
Type |
Name |
Description |
System.String |
tableName |
It accepts the name of the table.
|
Returns
TemplateId(String)
This field stores the id value of Block appointments template.
Declaration
public BlockoutSettingsBuilder TemplateId(string templateId)
Parameters
Type |
Name |
Description |
System.String |
templateId |
It accepts the block appointments template id value.
|
Returns