private IEnumerable<String> processVariables(Definitions.ObjectType objectType, VariablesEvaluated variables)
        {
            var trusteeSIDEntityValue = ((sid_sid_object)objectType).TrusteeSID.Value;

            if ((variables == null) || (variables.VariableValues.Count() == 0))
                return new string[] { trusteeSIDEntityValue };
            else
            {
                var variableEvaluator = new SID_SID_EntityVariableEvaluator(objectType, variables);
                var processedVariables = variableEvaluator.ProcessVariableForAllObjectEntities();
                return (processedVariables == null) ? null : processedVariables.ToList();
            }
        }
示例#2
0
        private IEnumerable <String> processVariables(Definitions.ObjectType objectType, VariablesEvaluated variables)
        {
            var trusteeSIDEntityValue = ((sid_sid_object)objectType).TrusteeSID.Value;

            if ((variables == null) || (variables.VariableValues.Count() == 0))
            {
                return new string[] { trusteeSIDEntityValue }
            }
            ;
            else
            {
                var variableEvaluator = new SID_SID_EntityVariableEvaluator(objectType, variables);

                var processedVariables = variableEvaluator.ProcessVariableForAllObjectEntities();
                return((processedVariables == null) ? null : processedVariables.ToList());
            }
        }