Esempio n. 1
0
 /// <summary>
 /// Copies properties from this instance to a container.
 /// </summary>
 /// <param name="destination">The destination.</param>
 public void CopyTo(ref PropertyContainer destination)
 {
     foreach (var keyValuePair in this)
     {
         destination.SetObject(keyValuePair.Key, keyValuePair.Value);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Copies properties from this instance to a container.
 /// </summary>
 /// <param name="destination">The destination.</param>
 public void CopyTo(ref PropertyContainer destination)
 {
     foreach (var keyValuePair in this)
     {
         destination.SetObject(keyValuePair.Key, keyValuePair.Key.IsValueType ? ((ValueHolder)keyValuePair.Value).ObjectValue : keyValuePair.Value);
     }
 }
Esempio n. 3
0
 /// <inheritdoc />
 public void SetObject([NotNull] PropertyKey propertyKey, object tagValue)
 {
     inner.SetObject(propertyKey, tagValue);
 }