Table of Contents

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

args string[]
resourceRegistry FSharpOption<IReadOnlyDictionary<string, Resources.ResourceFactory>>
notificationRegistry FSharpOption<IReadOnlyDictionary<string, Notifications.NotificationFactory>>

Returns

int

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

args string[]

Command-line arguments used to start the service. See EntryPoint.CliArguments for details.

resourceRegistry FSharpOption<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.

notificationRegistry FSharpOption<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.