Class EntryPoint
- Namespace
- Nightwatch
- Assembly
- Nightwatch.dll
[CompilationMapping(SourceConstructFlags.Module)]
public static class EntryPoint
- Inheritance
-
EntryPoint
- Inherited Members
Methods
FsiMain(string[], FSharpOption<IReadOnlyDictionary<string, ResourceFactory>>, FSharpOption<IReadOnlyDictionary<string, NotificationFactory>>)
public static int FsiMain(string[] args, FSharpOption<IReadOnlyDictionary<string, Resources.ResourceFactory>> resourceRegistry, FSharpOption<IReadOnlyDictionary<string, Notifications.NotificationFactory>> notificationRegistry)
Parameters
argsstring[]resourceRegistryFSharpOption<IReadOnlyDictionary<string, Resources.ResourceFactory>>notificationRegistryFSharpOption<IReadOnlyDictionary<string, Notifications.NotificationFactory>>
Returns
Main(string[], FSharpOption<IReadOnlyDictionary<string, ResourceFactory>>, FSharpOption<IReadOnlyDictionary<string, NotificationFactory>>)
Main Nightwatch entry point.
public static int Main(string[] args, FSharpOption<IReadOnlyDictionary<string, Resources.ResourceFactory>> resourceRegistry, FSharpOption<IReadOnlyDictionary<string, Notifications.NotificationFactory>> notificationRegistry)
Parameters
argsstring[]Command-line arguments used to start the service. See EntryPoint.CliArguments for details.
resourceRegistryFSharpOption<IReadOnlyDictionary<string, Resources.ResourceFactory>>A mapping from a resource type name to a resource factory. If not passed, ConfigureResourceRegistry(ILogger) will be used.
Use Create(IEnumerable<ResourceFactory>) to create a custom registry if needed.
notificationRegistryFSharpOption<IReadOnlyDictionary<string, Notifications.NotificationFactory>>A mapping from a notification type name to a notification factory. If not passed, ConfigureNotificationRegistry(ILogger) will be used.
Use Create(IEnumerable<NotificationFactory>) to create a custom registry if needed.
Returns
- int
See EntryPoint.ExitCodes.