-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathSamplesConfiguration.cs
69 lines (63 loc) · 2.86 KB
/
SamplesConfiguration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#region Copyright Syncfusion® Inc. 2001-2025.
// Copyright Syncfusion® Inc. 2001-2025. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// [email protected]. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Syncfusion.DemosCommon.WinUI;
using System;
using System.Collections.Generic;
namespace Syncfusion.ChatDemos.WinUI
{
public class SamplesConfiguration
{
public SamplesConfiguration()
{
DemoInfo chatAIAssistView = new DemoInfo()
{
Name = "Getting Started",
Category = "Chat",
Description = "This sample demonstrates the default functionality of the AIAssistView component, offering a simple chat interface for communicating with an AI service. ",
DemoView = typeof(Views.AssistView),
DemoType = DemoTypes.AISamples | DemoTypes.Updated,
ShowInfoPanel = false,
};
DemoInfo composeView = new DemoInfo()
{
Name = "Reservation",
Category = "Chat",
Description = "This sample demonstrates a reservation chatbot that provide a user-friendly interface for booking appointments and managing reservations.",
DemoView = typeof(Views.ComposeView),
DemoType = DemoTypes.AISamples | DemoTypes.Updated,
ShowInfoPanel = false,
};
DemoInfo chatAIIntegration = new DemoInfo()
{
Name = "Flyout",
Category = "Chat",
Description = "This example showcases how to host the AIAssistView in a flyout, seamlessly integrating it into an application while minimizing space usage.",
DemoView = typeof(Views.Overview),
DemoType = DemoTypes.AISamples | DemoTypes.Updated,
ShowInfoPanel = false,
};
var chat = new ControlInfo()
{
Control = DemoControl.SfAIAssistView,
ControlCategory = ControlCategory.Miscellaneous,
ControlBadge = ControlBadge.Updated,
Description = "The Syncfusion® WinUI AIAssistView control offers an adaptable interface for integrating AI-driven assistance directly within your application, enhancing user experience and productivity.",
Glyph = "\uE728",
ImageSource = "aiassistview.png",
};
chat.Demos.Add(chatAIAssistView);
chat.Demos.Add(composeView);
chat.Demos.Add(chatAIIntegration);
var controlInfo = new List<ControlInfo>()
{
chat,
};
DemoHelper.ControlInfos.AddRange(controlInfo);
}
}
}