예제 #1
0
 /// <summary>
 /// Sets the property's value based on a string.
 /// </summary>
 /// <param name="type">The type of the property.</param>
 /// <param name="str">The string representing the value to be set.</param>
 /// <returns>Returns the value encoded in the string in the correct type given.</returns>
 public object FromStringValue(List <Nodes.Node.ErrorCheck> result, DefaultObject node, object parentObject, Type type, string str)
 {
     return(_attribute.FromStringValue(result, node, parentObject, type, str));
 }
예제 #2
0
 /// <summary>
 /// Sets the property's value based on a string.
 /// </summary>
 /// <param name="type">The type of the property.</param>
 /// <param name="str">The string representing the value to be set.</param>
 /// <returns>Returns the value encoded in the string in the correct type given.</returns>
 public object FromStringValue(NodeTag.DefaultObject node, object parentObject, Type type, string str)
 {
     return(_attribute.FromStringValue(node, parentObject, type, str));
 }