Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.43 KB

File metadata and controls

44 lines (30 loc) · 1.43 KB

DynamicScriptServiceCollectionExtensions.UseScriptWatching method (1 of 2)

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Web

Activates script file watching

public static IServiceProvider UseScriptWatching(this IServiceProvider serviceProvider)
parameter description
serviceProvider Service provider

See Also


DynamicScriptServiceCollectionExtensions.UseScriptWatching method (2 of 2)

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Web

Activates script file watching

public static IServiceProvider UseScriptWatching(this IServiceProvider serviceProvider, 
    params string[] scriptPaths)
parameter description
serviceProvider Service provider
scriptPaths List of script paths to watch

Exceptions

exception condition
ArgumentNullException serviceProvider or scriptPaths is null
InvalidOperationException Script bundle manager is not registered

See Also