/// <summary>
 /// Gets the attribute reference dictionary.
 /// </summary>
 /// <param name="bref">The bref.</param>
 /// <param name="mode">The mode.</param>
 /// <param name="includingErased">if set to <c>true</c> [including erased].</param>
 /// <param name="openObjectsOnLockedLayers">if set to <c>true</c> [open objects on locked layers].</param>
 /// <returns></returns>
 public static Dictionary <string, AttributeReference> GetAttributeReferenceDictionary(this BlockReference bref,
                                                                                       OpenMode mode = OpenMode.ForRead, bool includingErased = false, bool openObjectsOnLockedLayers = false)
 {
     return(bref.GetAttributeReferenceDictionary(bref.Database.TransactionManager.TopTransaction, mode,
                                                 includingErased, openObjectsOnLockedLayers));
 }