DataScriptRegistration.RegisterDataScripts method
namespace: Serenity.Web assembly: Serenity.Net.Web
Creates and registers dynamic scripts for types with DataScriptAttribute
public static void RegisterDataScripts(IDynamicScriptManager scriptManager, ITypeSource typeSource,
IServiceProvider serviceProvider)
parameter | description |
---|---|
scriptManager | Dynamic script manager |
typeSource | Type source |
serviceProvider | Service provider |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Script manager, type source or , service provider is null |
See Also
- interface IDynamicScriptManager
- interface ITypeSource
- class DataScriptRegistration