示例#1
0
        public static EngineBuilder InstallConsoleOutput(this EngineBuilder builder)
        {
            if (builder == null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

            builder.Use(new ConsoleOutput());
            return(builder);
        }
示例#2
0
        public static EngineBuilder InstallNetFramework(this EngineBuilder builder)
        {
            if (builder == null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

            builder.Use(new FileInfoConverter());
            builder.Use(new DirectoryInfoConverter());
            return(builder);
        }