/// <summary> /// Définit la valeur de la propriété pour un bean. /// </summary> /// <param name="component">Bean.</param> /// <param name="value">Valeur.</param> public override void SetValue(object component, object value) { BeanDynamic bean = component as BeanDynamic; if (bean == null) { throw new NotSupportedException(); } bean.SetValue(this, value); }
/// <summary> /// Retourne la valeur de la propriété pour un bean. /// </summary> /// <param name="component">Bean.</param> /// <returns>Valeur.</returns> public override object GetValue(object component) { BeanDynamic bean = component as BeanDynamic; if (bean == null) { throw new NotSupportedException(); } return(bean.GetValue(this)); }