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
| parameter | description |
|---|---|
| key | The key. |
Public Members
| name | description |
|---|---|
| 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. |
Protected Members
| name | description |
|---|---|
| DynamicScriptAttribute(…) | Base class for dynamic script attributes. Dynamic scripts contain dynamic data, but they are not parameterized. |
Remarks
Initializes a new instance of the DynamicScriptAttribute class.
See Also
- Source: DynamicScriptAttribute.cs