Beispiel #1
0
        /// <summary>
        /// Gets the object with the specified global identifier.
        /// </summary>
        /// <param name="id">The global identifier of the object to retrieve.</param>
        /// <returns>The object with the specified identifier.</returns>
        public T GetObject(ResolvedDataObjectReference id)
        {
            T result;

            if (objectsByGlobalID.TryGetValue(id.Value, out result))
            {
                return(result);
            }
            return(null);
        }
Beispiel #2
0
 /// <inheritdoc/>
 public Boolean Equals(ResolvedDataObjectReference other)
 {
     return
         (this.value == other.value &&
          this.source == other.source);
 }