private void AssignParameters( LoadtestParameters parameters, Guid agentId, Guid customerId, Guid?engineerId, Guid loadtestTypeId, Guid projectId, Guid scenarioId) { RaiseIfDefaultGuid(agentId); RaiseIfDefaultGuid(customerId); if (engineerId.HasValue) { RaiseIfDefaultGuid(engineerId.Value); } RaiseIfDefaultGuid(loadtestTypeId); RaiseIfDefaultGuid(projectId); RaiseIfDefaultGuid(scenarioId); AgentId = agentId; CustomerId = customerId; EngineerId = engineerId; LoadtestTypeId = loadtestTypeId; ProjectId = projectId; ScenarioId = scenarioId; Parameters = parameters; }
public void Update( LoadtestParameters parameters, Guid agentId, Guid customerId, Guid?engineerId, Guid loadtestTypeId, Guid projectId, Guid scenarioId) { AssignParameters(parameters, agentId, customerId, engineerId, loadtestTypeId, projectId, scenarioId); }
public Loadtest( Guid guid, LoadtestParameters parameters, Guid agentId, Guid customerId, Guid?engineerId, Guid loadtestTypeId, Guid projectId, Guid scenarioId) : base(guid) { this.RaiseIfDefaultGuid(guid); this.AssignParameters(parameters, agentId, customerId, engineerId, loadtestTypeId, projectId, scenarioId); }