-
Notifications
You must be signed in to change notification settings - Fork 60
/
Map.cs
198 lines (152 loc) · 6.88 KB
/
Map.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
using Lombiq.TrainingDemo.Activities;
using Lombiq.TrainingDemo.Controllers;
using Lombiq.TrainingDemo.Drivers;
using Lombiq.TrainingDemo.Events;
using Lombiq.TrainingDemo.Fields;
using Lombiq.TrainingDemo.Filters;
using Lombiq.TrainingDemo.GraphQL.Services;
using Lombiq.TrainingDemo.Handlers;
using Lombiq.TrainingDemo.Indexes;
using Lombiq.TrainingDemo.Indexing;
using Lombiq.TrainingDemo.Middlewares;
using Lombiq.TrainingDemo.Migrations;
using Lombiq.TrainingDemo.Models;
using Lombiq.TrainingDemo.Navigation;
using Lombiq.TrainingDemo.Permissions;
using Lombiq.TrainingDemo.Services;
using Lombiq.TrainingDemo.Settings;
using Lombiq.TrainingDemo.ViewModels;
using System.Diagnostics.CodeAnalysis;
/*
* In this file you'll find the index of the whole (or at least most of the) module's classes for easier navigation
* between topics. You can navigate directly to classes and their methods by clicking on their names (enclosed in a
* Pointer<T>() ) and pressing F12.
*
* This class is not doing anything and only serves as an easy to use table of contents.
*/
namespace Lombiq.TrainingDemo;
internal static class Map
{
#pragma warning disable S3241 // Methods should not return values that are never used
private static T Pointer<T>() => default;
#pragma warning restore S3241 // Methods should not return values that are never used
[SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "It's used but by humans :).")]
private static void Treasure()
{
// Recipes
// Recipes/TrainingDemo.recipe.json
// Manifest.cs: module manifest, features, dependencies
// Startup classes targeting multiple features
Pointer<Startup>();
// Basic controller demonstrating localization, Notifier, Logger, routing
Pointer<YourFirstOrchardCoreController>();
// Display management, IDisplayManager, ad-hoc shapes, shape injection from template
Pointer<DisplayManagementController>();
// Display types, zones, placement
// Views/Book.cshtml
// Views/Book.Description.cshtml
Pointer<BookDisplayDriver>();
// ContentPart, ContentField on ContentPart
Pointer<PersonPart>();
// Displaying, editing and updating ContentPart
// Views/PersonPart.cshtml
// Views/PersonPart.Edit.cshtml
// Views/PersonPart.Summary.cshtml built-in Summary display type
// Views/PersonPart.SummaryAdmin.cshtml built-in SummaryAdmin display type
Pointer<PersonPartDisplayDriver>();
Pointer<PersonPartHandler>();
// Validating ContentPart fields
Pointer<PersonPartViewModel>();
// IndexProvider, indexing simple object or ContentPart in records
Pointer<BookIndex>();
Pointer<PersonPartIndex>();
// Content Type (standard and widget), ContentPart, ContentField, index record creation.
Pointer<PersonMigrations>();
// ISession, IContentItemDisplayManager, IClock, IContentManager
Pointer<DatabaseStorageController>();
Pointer<PersonListController>();
// ContentField
Pointer<ColorField>();
// ContentFieldSettings
Pointer<ColorFieldSettings>();
// Editing and updating ContentFieldSettings
// Views/ColorFieldSettings.Edit.cshtml
Pointer<ColorFieldSettingsDriver>();
// Displaying, editing and updating ContentField
// Views/ColorField.cshtml
// Views/ColorField.Edit.cshtml
// Views/ColorField.Option.cshtml default editor option name
// Views/ColorField-ColorPicker.Option.cshtml custom editor option name
// Views/ColorField-ColorPicker.Edit.cshtml custom editor option editor
Pointer<ColorFieldDisplayDriver>();
// ContentFieldIndexHandler, indexing ContentField using custom index provider (e.g. Lucene).
Pointer<ColorFieldIndexHandler>();
// ResourceManifest, static resources, scripts, styles
// Views/ColorField-ColorPicker.Edit.cshtml resource injection
Pointer<ResourceManagementOptionsConfiguration>();
// IAuthorizationService
Pointer<AuthorizationController>();
// Permissions, PermissionProvider
Pointer<DemoSettingsPermissions>();
Pointer<PersonPermissions>();
// Admin attribute
Pointer<AdminController>();
// Menu, Admin menu, NavigationProvider
Pointer<DemoSettingsAdminMenu>();
Pointer<PersonsAdminMenu>();
Pointer<TrainingDemoNavigationProvider>();
// SectionDisplayDriver, ISite, DisplayDriver for SiteSettings
Pointer<DemoSettingsDisplayDriver>();
// SiteSettings, ISite, ISiteService, Options
Pointer<SiteSettingsController>();
// ResultFilter, IAsyncResultFilter
Pointer<ShapeInjectionFilter>();
Pointer<ResourceInjectionFilter>();
Pointer<ResourceFromShapeInjectingFilter>();
// ILayoutAccessor, IShapeFactory, zones, ad-hoc shapes, shape injection from filter
Pointer<ShapeInjectionFilter>();
// IResourceManager, resource injection
Pointer<ResourceInjectionFilter>();
// IShapeFactory, IDisplayHelper, ad-hoc shapes, script shape injection from filter via resource manager,
// executing shapes into HTML
Pointer<ResourceFromShapeInjectingFilter>();
// IShapeTableProvider, hiding shapes, shape events
Pointer<ShapeHidingShapeTableProvider>();
// Memory Cache, Dynamic Cache
// IMemoryCache, IDynamicCacheService, ITagCache
Pointer<DateTimeCachingService>();
// ILocalClock
// Views/Cache/Index.cshtml
// Views/Cache/Shape.cshtml
// Views/CachedShape.cshtml
Pointer<DateTimeCachingService>();
// IMediaFileStore, custom file store
Pointer<FileManagementController>();
// FileSystemStore, IFileStore
Pointer<CustomFileStore>();
// BackgroundTask, BackgroundTaskSettings
Pointer<DemoBackgroundTask>();
// Event handlers
Pointer<LoginGreeting>();
// Web API (RESTful API controller)
Pointer<ApiController>();
// Middleware
Pointer<RequestLoggingMiddleware>();
// Accessing services from other tenants
Pointer<CrossTenantServicesController>();
// Unit and integration testing
Pointer<TestedService>();
// Resource compilation, asset management
// package.json
// GraphQL - content part
Pointer<PersonPartObjectGraphType>();
Pointer<PersonPartWhereInputObjectGraphType>();
Pointer<PersonPartIndexAliasProvider>();
Pointer<HandednessEnumerationGraphType>();
// GraphQL - filtering
Pointer<PersonAgeGraphQLFilter>();
Pointer<ContentItemTypeBuilder>();
// Workflows - sample workflow activity task
Pointer<ManagePersonsPermissionCheckerTask>();
}
}