コード例 #1
0
 /// <summary>
 /// Copy this container to another container.
 /// </summary>
 /// <param name="reference">The container to copy to.</param>
 public void CopyTo(NativeReference <T> reference)
 {
     Copy(reference, this);
 }
コード例 #2
0
 /// <summary>
 /// Determine whether this container is equal to another container.
 /// </summary>
 /// <param name="other">A container to compare with this container.</param>
 /// <returns><see langword="true"/> if this container is equal to the <paramref name="other"/> parameter, otherwise <see langword="false"/>.</returns>
 public bool Equals(NativeReference <T> other)
 {
     return(Value.Equals(other.Value));
 }
コード例 #3
0
 /// <summary>
 /// Copy this container from another container.
 /// </summary>
 /// <param name="reference">The container to copy from.</param>
 public void CopyFrom(NativeReference <T> reference)
 {
     Copy(this, reference);
 }