-
Notifications
You must be signed in to change notification settings - Fork 56
/
Constants.cs
34 lines (29 loc) · 1.31 KB
/
Constants.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
namespace ChameleonForms
{
/// <summary>
/// Global ChameleonForms constants.
/// </summary>
public static class Constants
{
/// <summary>
/// The key that is used to stash a ChameleonForm <see cref="Form{TModel}"/> within ViewData.
/// </summary>
public const string ViewDataFormKey = "ChameleonForms_Form";
/// <summary>
/// The key that is used to stash a ChameleonForm <see cref="Form{TModel}"/> within ViewData.
/// </summary>
public const string ViewDataSectionKey = "ChameleonForms_Section";
/// <summary>
/// The key that is used to stash a ChameleonForm <see cref="Component.Navigation{TModel}"/> within ViewData.
/// </summary>
public const string ViewDataNavigationKey = "ChameleonForms_Navigation";
/// <summary>
/// The key that is used to stash a ChameleonForm <see cref="Component.Field{TModel}"/> within ViewData.
/// </summary>
public const string ViewDataFieldKey = "ChameleonForms_Field";
/// <summary>
/// The key that is used to stash a ChameleonForm <see cref="Component.Message{TModel}"/> within ViewData.
/// </summary>
public const string ViewDataMessageKey = "ChameleonForms_Message";
}
}