Skip to content

SAIF.Framework.Windows API reference

This page lists all public types exposed by SAIF.Framework.Windows. Each type links to its full API reference page.

Types

Type Kind Namespace Purpose
ConsoleBase\<TArgContainer> Class SAIF.Console Application lifecycle base class owning Initialize/Execute/Finish, run timing, and console header/footer logging.
ProgramRunnerBase\<TApplication, TArgumentContainer> Class SAIF.Console Entry-point orchestrator: resolves arguments, composes the Autofac container, resolves the application, and maps exceptions to exit codes.
SaifStandardProgramBase\<TApp, TArgContainer> Class SAIF.Console Standardized ProgramRunnerBase subclass sourcing raw arguments from Environment.GetCommandLineArgs() and always printing the final exit code.
ICommandLineParser Interface SAIF.Console Contract for parsing raw command-line arguments into a standardized key/value dictionary.
PatternCommandLineParser Class SAIF.Console Regex-driven ICommandLineParser implementation that splits argument tokens on a configurable pattern.
SaifStandardCommandLineParser Class SAIF.Console PatternCommandLineParser subclass fixing the parse pattern to the SAIF standard argument syntax.
ConsoleLogService Class SAIF.Console Discovers machine-scoped numbered log-file environment variables and coordinates console/file logging via LogWriter instances.
LogWriter Class SAIF.Console Wraps a lazily-created StreamWriter for a single named log file/LogType.
AutofacExtensions Class SAIF.Console Static extension methods composing core framework services and NHibernate unit-of-work registrations into an Autofac container.
ArgumentContainerBase\<TArgumentContainer> Class SAIF.Console.Arguments Argument-parsing/resolution root that binds parsed command-line values onto a consuming application's argument container.
StandardArgumentContainerBase\<TArgumentContainer> Class SAIF.Console.Arguments ArgumentContainerBase subclass fixing CommandLineParser to a private SaifStandardCommandLineParser instance.
ArgumentResolver\<TArgumentContainer, TArgument> Class SAIF.Console.Arguments Per-property resolver that binds and validates a single argument, supporting required/optional and typed conversion semantics.
ArgumentResolverBuilder\<TArgumentContainer> Class SAIF.Console.Arguments Fluent builder used inside BuildArgumentResolvers to explicitly configure per-property argument resolvers.
SaifConsoleException Class SAIF.Console.Exceptions Abstract base exception carrying an ExitCode consumed by the program runner's top-level catch clause.
BadParameterException Class SAIF.Console.Exceptions SaifConsoleException subclass with a fixed ExitCode = 1.
CustomErrorException Class SAIF.Console.Exceptions SaifConsoleException subclass with a caller-supplied ExitCode.
DatabaseErrorException Class SAIF.Console.Exceptions SaifConsoleException subclass with a fixed ExitCode = 2.
DataErrorException Class SAIF.Console.Exceptions SaifConsoleException subclass with a fixed ExitCode = 3.
FileInputOutputException Class SAIF.Console.Exceptions SaifConsoleException subclass with a fixed ExitCode = 4.
NoDataFoundException Class SAIF.Console.Exceptions SaifConsoleException subclass with a fixed ExitCode = 6.
DatabaseConfig Class SAIF.Console.DatabaseConfigs Abstract base composing a named NHibernate unit-of-work/repository-factory registration into an Autofac container.
OracleConfig Class SAIF.Console.DatabaseConfigs DatabaseConfig subclass registering an Oracle-backed unit of work, selecting stateful or stateless factory by flag.
SqlServerConfig Class SAIF.Console.DatabaseConfigs DatabaseConfig subclass registering a SQL Server-backed unit of work under a single fixed factory name.

Sources

  • Console\SAIF.Console\SAIF.Framework.Windows.csproj