Пример #1
0
        public virtual IEnumerable <ItemType> GetItemsToCollect(Definitions.ObjectType objectType, VariablesEvaluated evaluatedVariables)
        {
            var textFileContentObject = (textfilecontent54_object)objectType;

            if (textFileContentObject.HasVariableDefined())
            {
                var variableEvaluator = new TextFileContentEntityVariableEvaluator(evaluatedVariables);
                var objectTypes       = variableEvaluator.ProcessVariables(objectType);

                return(this.OperationEvaluator.ProcessOperation(objectTypes).ToList());
            }
            else
            {
                return(this.OperationEvaluator.ProcessOperation(textFileContentObject).ToList());
            }
        }
 public virtual IEnumerable<ItemType> GetItemsToCollect(Definitions.ObjectType objectType, VariablesEvaluated evaluatedVariables)
 {
     var textFileContentObject = (textfilecontent54_object)objectType;
     
     if (textFileContentObject.HasVariableDefined())
     {
         var variableEvaluator = new TextFileContentEntityVariableEvaluator(evaluatedVariables);
         var objectTypes = variableEvaluator.ProcessVariables(objectType);
         
         return this.OperationEvaluator.ProcessOperation(objectTypes).ToList();
     }
     else
     {
         return this.OperationEvaluator.ProcessOperation(textFileContentObject).ToList();
     }
 }