public UseCaseExecutionContextParameter(ParameterDirection direction, DataParameter parameter, ExecutionSentenceBase source, object constantValue = null) { Direction = direction; Parameter = parameter ?? throw new ArgumentNullException(nameof(parameter)); Source = source; IsFromUseCase = source == null; ConstantValue = constantValue; }
public UseCaseExecutionSentence( ExecutionSentenceBase executionSentence, List <UseCaseLinkInputExecutionParameter> contextInputParameters, List <UseCaseLinkExecutionParameter> contextParameters) { ExecutionSentence = executionSentence ?? throw new ArgumentNullException(nameof(executionSentence)); ContextInputParameters = contextInputParameters ?? throw new ArgumentNullException(nameof(contextInputParameters)); ContextLinkParameters = contextParameters ?? throw new ArgumentNullException(nameof(contextParameters)); }