Beispiel #1
0
 /// <summary>
 /// Gets all block references.
 /// </summary>
 /// <param name="btr">The BTR.</param>
 /// <param name="directOnly">if set to <c>true</c> [direct only].</param>
 /// <param name="forceValidity">if set to <c>true</c> [force validity].</param>
 /// <returns></returns>
 public static IEnumerable <BlockReference> GetAllBlockReferences(this BlockTableRecord btr, bool directOnly,
                                                                  bool forceValidity)
 {
     return(btr.GetAllBlockReferences(btr.Database.TransactionManager.TopTransaction, directOnly, forceValidity));
 }