/// <summary>Async wrapper around <see cref="SetProperty(System.String, Eina.Value)" />.</summary> /// <param name="property">The property to be added.</param> /// <param name="value">The value of the property.</param> /// <param name="token">The token for the task's cancellation.</param> /// <returns>Task that resolves when the property has been set or could not /// be set.</returns> public System.Threading.Tasks.Task <Eina.Value> SetPropertyAsync(System.String property, Eina.Value value, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) { return(model.SetPropertyAsync(property, value, token)); }
/// <summary>Sets the value of the given property in the given model.</summary> /// <param name="property">The property of the model.</param> /// <param name="value">The value of the property.</param> /// <returns>An <see cref="Eina.Future" /> that resolves when the property has /// been set or reports an error if it could not be set.</returns> public Eina.Future SetProperty(System.String property, Eina.Value value) { return(model.SetProperty(property, value)); }