Exemplo n.º 1
0
 /// <summary>
 /// Gets the value as a generic object for the specified element.
 /// </summary>
 /// <param name="element">The element to get the value from.</param>
 /// <returns></returns>
 protected object GetTypedValue(IFunctionParameter element)
 {
     if (element == null)
     {
         throw new ArgumentNullException("element");
     }
     return(element.GetTypedValue(DataType, 0));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the value as a generic object for the specified element.
 /// </summary>
 /// <param name="element">The element to get the value from.</param>
 /// <returns></returns>
 protected object GetTypedValue(IFunctionParameter element)
 {
     if (element == null) throw new ArgumentNullException("element");
     return element.GetTypedValue(DataType, 0);
 }