ChatBuilder.Items(Action<CollectionFactory<MessageBuilder>>) Method
Specifies an array of chat messages. Mirrors the client-side items option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public ChatBuilder Items(
Action<CollectionFactory<MessageBuilder>> configurator
)
Parameters
| Name | Type | Description |
|---|---|---|
| configurator | Action<CollectionFactory<MessageBuilder>> | A function that allows you to add chat messages. |
Returns
| Type | Description |
|---|---|
| ChatBuilder | A reference to this instance after the method is called. |
See Also