Exemplo n.º 1
0
 /// <summary>
 /// Sets the value for a <see cref="PropertyContainer"/> value.
 /// </summary>
 /// <param name="obj">The property container.</param>
 /// <param name="value">The value to set.</param>
 public void SetValue(ref PropertyContainer obj, object value)
 {
     setter(ref obj, value);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the value from a <see cref="PropertyContainer"/> associated to this getter.
 /// </summary>
 /// <param name="obj">the property container.</param>
 /// <returns>The value stored.</returns>
 public object GetValue(ref PropertyContainer obj)
 {
     return(getter(ref obj));
 }
Exemplo n.º 3
0
 public PropertyContainerClass(object owner)
 {
     inner = new PropertyContainer(owner);
 }
Exemplo n.º 4
0
 /// <inheritdoc />
 public void CopyTo(ref PropertyContainer destination)
 {
     inner.CopyTo(ref destination);
 }
Exemplo n.º 5
0
 public PropertyContainerClass()
 {
     inner = new PropertyContainer();
 }