SetValue() public méthode

public SetValue ( object root, object value, object index ) : void
root object
value object
index object
Résultat void
Exemple #1
0
        internal void SetValue(object value, INPCBinding.PropertyPath property)
        {
            if (_value == null)
            {
                return;
            }

            property.SetValue(_value, value, null);
        }
Exemple #2
0
        internal void SetValue(object value, INPCBinding.PropertyPath property)
        {
            if (_value == null)
            {
                //Debug.LogErrorFormat("Cannot set value for {0}. DataContext on {1} has no value", property, name);
                return;
            }

            property.SetValue(_value, value, null);
        }