public PsModule(string fileName, PsHost host) { _host = host; _psBase = new PsBase(_host); _moduleName = FetchModuleName(fileName); }
public PsScript(string scriptBlock, PsHost host) { _scriptBlock = scriptBlock; _host = host; _psBase = new PsBase(host); }