Example #1
0
 public Program(IApplicationEnvironment appEnv, ILibraryManager libraryManager)
 {
     _projectDir = appEnv.ApplicationBasePath;
     _rootNamespace = appEnv.ApplicationName;
     
     var assemblyName = new AssemblyName(appEnv.ApplicationName);
     var assembly = Assembly.Load(assemblyName);
     
     _migrationTool = new MigrationTool(assembly);
     _libraryManager = libraryManager;
 }
Example #2
0
        public Program(IApplicationEnvironment appEnv, ILibraryManager libraryManager)
        {
            _projectDir    = appEnv.ApplicationBasePath;
            _rootNamespace = appEnv.ApplicationName;

            var assemblyName = new AssemblyName(appEnv.ApplicationName);
            var assembly     = Assembly.Load(assemblyName);

            _migrationTool  = new MigrationTool(assembly);
            _libraryManager = libraryManager;
        }