Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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));
 }