public virtual void Setup() { PowerPlant = DbContext.PowerPlant; DbSchema = PowerPlant.CreateDbSchema(); ColumnFactory = PowerPlant.CreateColumnFactory(); TableName = "hmstestcolumntypes"; DbSchema.DropTable(TableName); }
public CreateCoreCommand( IPowerPlant powerPlant, CoreType lateInstantiationCoreType, string lateInstantiationCoreName, int lateInstantiationCoreEnergyOutput) : base(powerPlant) { this.LateInstantiationCoreType = lateInstantiationCoreType; this.LateInstantiationCoreName = lateInstantiationCoreName; this.LateInstantiationCoreEnergyOutput = lateInstantiationCoreEnergyOutput; }
public AttachFragmentCommand( IPowerPlant powerPlant, FragmentType lateInstantiationFragmentType, string lateInstantiationFragmentName, int lateInstantiationFragmentPressureAffection) : base(powerPlant) { this.LateInstantiationFragmentType = lateInstantiationFragmentType; this.LateInstantiationFragmentName = lateInstantiationFragmentName; this.LateInstantiationFragmentPressureAffection = lateInstantiationFragmentPressureAffection; }
public void SetUp() { this.testNuclearPowerPlant = new NuclearPowerPlant(); }
protected DbContext(IPowerPlant powerPlant, IALogger logger) { PowerPlant = powerPlant; Logger = logger ?? new ConsoleLogger(); }
protected DbContext(string connectionString, IPowerPlant powerPlant, IALogger logger) : this(powerPlant, logger) { ConnectionString = connectionString; }
protected BaseCommand(IPowerPlant powerPlant) { this.PowerPlant = powerPlant; }
public RemoveCoreCommand(IPowerPlant powerPlant, string lateRemovingCoreName) : base(powerPlant) { this.LateRemovingCoreName = lateRemovingCoreName; }
public StatusCommand(IPowerPlant powerPlant) : base(powerPlant) { }
public virtual void Setup() { PowerPlant = DbContext.PowerPlant; DbSchema = PowerPlant.CreateDbSchema(); }
public DetachFragmentCommand(IPowerPlant powerPlant) : base(powerPlant) { }
public void Init() { this.powerPlant = new PowerPlant(new ConsoleWriter(), new ConsoleReader()); }
public SelectCommand(IPowerPlant powerPlant, string lateSelectingCoreName) : base(powerPlant) { this.LateSelectingCoreName = lateSelectingCoreName; }