Skip to content

LookupScriptRegistration.RegisterLookupScripts method

Creates and registers dynamic LookupScript objects for classes with LookupScriptAttribute.

public static void RegisterLookupScripts(IDynamicScriptManager scriptManager, 
    ITypeSource typeSource, IServiceProvider serviceProvider)
parameter description
scriptManager The dynamic script manager.
typeSource The type source.
serviceProvider The service provider.

Exceptions

exception condition
ArgumentNullException Script manager, type source or service provider is null.
InvalidOperationException A custom type has LookupScriptAttribute but does not derive from the LookupScript class.

See Also