Class GridWebMcpSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GridWebMcpSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.AspNetMvc.Grid.dll
Syntax
public class GridWebMcpSettingsBuilder : ControlBuilder
Constructors
GridWebMcpSettingsBuilder()
Declaration
public GridWebMcpSettingsBuilder()
GridWebMcpSettingsBuilder(GridWebMcpSettings)
Declaration
public GridWebMcpSettingsBuilder(GridWebMcpSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| GridWebMcpSettings | model |
Methods
ExposedTo(String[])
Specifies the list of allowed origins to expose the registered tools to.
Declaration
public GridWebMcpSettingsBuilder ExposedTo(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| GridWebMcpSettingsBuilder |
Name(String)
Specifies the name or prefix used when registering the WebMCP tools.
Declaration
public GridWebMcpSettingsBuilder Name(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| GridWebMcpSettingsBuilder |
Tools(Object)
Specifies custom tool objects, or a mixed array of tool names and objects, to register.
Declaration
public GridWebMcpSettingsBuilder Tools(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| GridWebMcpSettingsBuilder |
Tools(String[])
Specifies the list of tool names to register.
Declaration
public GridWebMcpSettingsBuilder Tools(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| GridWebMcpSettingsBuilder |