FormScriptAttribute constructor (1 of 2)
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Initializes a new instance of the FormScriptAttribute class. The key of the form script will be the full name of the type this is placed on.
public FormScriptAttribute()
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | key |
See Also
- class FormScriptAttribute
FormScriptAttribute constructor (2 of 2)
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Initializes a new instance of the FormScriptAttribute class.
public FormScriptAttribute(string key)
| parameter | description |
|---|---|
| key | The key. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | key |
See Also
- class FormScriptAttribute