BaseDynamicDataGenerator class
namespace: Serenity.Web assembly: Serenity.Net.Web
Base class for generating .json files under the dynamic-data folder for script testing purposes.
public abstract class BaseDynamicDataGenerator
Public Members
| name | description |
|---|---|
| virtual Run() | Generates .json files under the dynamic-data folder for script testing purposes. |
| virtual RunAndExitIf(…) | Checks the arguments; if they contain dynamic-data, runs the generator and exits the process. |
Protected Members
| name | description |
|---|---|
| BaseDynamicDataGenerator() | The default constructor. |
| virtual AddServices(…) | Initializes the services used by the generator. |
| virtual GetDynamicDataFolder() | Gets the dynamic-data folder. |
| virtual GetProjectRoot() | Gets the project root folder. |
| virtual GetTypeSource() | Gets the type source. |
| virtual InitializeScripts(…) | Initializes the dynamic scripts. |
| virtual ShouldSkipScript(…) | Returns true if the script should be skipped. |
See Also
- Source: BaseDynamicDataGenerator.cs