Ejemplo n.º 1
0
        // source ////////////////////////////////////////////////////////

        public virtual object GetSource(IVariableScope variableScope)
        {
            if (sourceValueProvider is ConstantValueProvider)
            {
                var variableName = (string)sourceValueProvider.GetValue(variableScope);

                return(variableScope.GetVariableTyped <ITypedValue>(variableName));
            }
            return(sourceValueProvider.GetValue(variableScope));
        }
Ejemplo n.º 2
0
 public virtual ITypedValue Resolve(string variableName)
 {
     return(VariableScope.GetVariableTyped <ITypedValue>(variableName));
 }