DynamicScriptAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Base class for dynamic script attributes. Dynamic scripts contain dynamic data, but they are not parameterized.
[AttributeUsage(AttributeTargets.Method)]
public abstract class DynamicScriptAttribute : Attribute
Public Members
| name | description |
|---|---|
| DynamicScriptAttribute(…) | Initializes a new instance of the DynamicScriptAttribute class. |
| CacheDuration { get; set; } | Gets or sets the duration of the caching. |
| CacheGroupKey { get; set; } | Gets or sets the cache group key. Group keys are used to invalidate a group of items. |
| Key { get; } | Gets the key. |
See Also
- Source: DynamicScriptAttribute.cs