Esempio n. 1
0
        /// <summary>Sets the properties of the <paramref name="child"/> from the properties of the given object
        /// <paramref name="o"/>.</summary>
        static internal void SetProperties <T>(T o, Efl.IModel child)
        {
            var properties = typeof(T).GetProperties();

            foreach (var prop in properties)
            {
                child.SetProperty(prop.Name, ValueFromProperty(o, prop));
            }
        }
Esempio n. 2
0
 /// <summary>Sets the value of the given property in the given model.</summary>
 public Eina.Future SetProperty(System.String property, Eina.Value value)
 {
     return(model.SetProperty(property, value));
 }